Microchip Technology Inc. ATSAMD21E16L 2024.06.03 Microchip ATSAMD21E16L device: Cortex-M0+ Microcontroller with 64KB Flash, 8KB SRAM, QFN32_LIGHTING-pin package CM0+ r0p1 little 2 false 8 32 AC Analog Comparators AC 0x0 0x0 0x40 registers n AC 24 AC_INTREQ 24 COMPCTRL0 Comparator Control n 0x20 32 read-write n 0x0 0x0 ENABLE Enable 0 1 FLEN Filter Length 24 3 FLENSelect OFF No filtering 0x0 MAJ3 3-bit majority function (2 of 3) 0x1 MAJ5 5-bit majority function (3 of 5) 0x2 HYST Hysteresis Enable 19 1 INTSEL Interrupt Selection 5 2 INTSELSelect TOGGLE Interrupt on comparator output toggle 0x0 RISING Interrupt on comparator output rising 0x1 FALLING Interrupt on comparator output falling 0x2 EOC Interrupt on end of comparison (single-shot mode only) 0x3 MUXNEG Negative Input Mux Selection 8 3 MUXNEGSelect PIN0 I/O pin 0 0x0 PIN1 I/O pin 1 0x1 PIN2 I/O pin 2 0x2 PIN3 I/O pin 3 0x3 GND Ground 0x4 VSCALE VDD scaler 0x5 BANDGAP Internal bandgap voltage 0x6 DAC DAC output 0x7 MUXPOS Positive Input Mux Selection 12 2 MUXPOSSelect PIN0 I/O pin 0 0x0 PIN1 I/O pin 1 0x1 PIN2 I/O pin 2 0x2 PIN3 I/O pin 3 0x3 OUT Output 16 2 OUTSelect OFF The output of COMPn is not routed to the COMPn I/O port 0x0 ASYNC The asynchronous output of COMPn is routed to the COMPn I/O port 0x1 SYNC The synchronous output (including filtering) of COMPn is routed to the COMPn I/O port 0x2 SINGLE Single-Shot Mode 1 1 SPEED Speed Selection 2 2 SPEEDSelect LOW Low speed 0x0 HIGH High speed 0x1 SWAP Swap Inputs and Invert 15 1 COMPCTRL1 Comparator Control n 0x34 32 read-write n 0x0 0x0 ENABLE Enable 0 1 FLEN Filter Length 24 3 FLENSelect OFF No filtering 0x0 MAJ3 3-bit majority function (2 of 3) 0x1 MAJ5 5-bit majority function (3 of 5) 0x2 HYST Hysteresis Enable 19 1 INTSEL Interrupt Selection 5 2 INTSELSelect TOGGLE Interrupt on comparator output toggle 0x0 RISING Interrupt on comparator output rising 0x1 FALLING Interrupt on comparator output falling 0x2 EOC Interrupt on end of comparison (single-shot mode only) 0x3 MUXNEG Negative Input Mux Selection 8 3 MUXNEGSelect PIN0 I/O pin 0 0x0 PIN1 I/O pin 1 0x1 PIN2 I/O pin 2 0x2 PIN3 I/O pin 3 0x3 GND Ground 0x4 VSCALE VDD scaler 0x5 BANDGAP Internal bandgap voltage 0x6 DAC DAC output 0x7 MUXPOS Positive Input Mux Selection 12 2 MUXPOSSelect PIN0 I/O pin 0 0x0 PIN1 I/O pin 1 0x1 PIN2 I/O pin 2 0x2 PIN3 I/O pin 3 0x3 OUT Output 16 2 OUTSelect OFF The output of COMPn is not routed to the COMPn I/O port 0x0 ASYNC The asynchronous output of COMPn is routed to the COMPn I/O port 0x1 SYNC The synchronous output (including filtering) of COMPn is routed to the COMPn I/O port 0x2 SINGLE Single-Shot Mode 1 1 SPEED Speed Selection 2 2 SPEEDSelect LOW Low speed 0x0 HIGH High speed 0x1 SWAP Swap Inputs and Invert 15 1 CTRLA Control A 0x0 8 read-write n 0x0 0x0 ENABLE Enable 1 1 LPMUX Low-Power Mux 7 1 RUNSTDBY Run in Standby 2 1 SWRST Software Reset 0 1 write-only CTRLB Control B 0x1 8 write-only n 0x0 0x0 START0 Comparator 0 Start Comparison 0 1 START1 Comparator 1 Start Comparison 1 1 EVCTRL Event Control 0x2 16 read-write n 0x0 0x0 COMPEI0 Comparator 0 Event Input 8 1 COMPEI1 Comparator 1 Event Input 9 1 COMPEO0 Comparator 0 Event Output Enable 0 1 COMPEO1 Comparator 1 Event Output Enable 1 1 WINEO0 Window 0 Event Output Enable 4 1 INTENCLR Interrupt Enable Clear 0x4 8 read-write n 0x0 0x0 COMP0 Comparator 0 Interrupt Enable 0 1 COMP1 Comparator 1 Interrupt Enable 1 1 WIN0 Window 0 Interrupt Enable 4 1 INTENSET Interrupt Enable Set 0x5 8 read-write n 0x0 0x0 COMP0 Comparator 0 Interrupt Enable 0 1 COMP1 Comparator 1 Interrupt Enable 1 1 WIN0 Window 0 Interrupt Enable 4 1 INTFLAG Interrupt Flag Status and Clear 0x6 8 read-write n 0x0 0x0 COMP0 Comparator 0 0 1 COMP1 Comparator 1 1 1 WIN0 Window 0 4 1 SCALER0 Scaler n 0x40 8 read-write n 0x0 0x0 VALUE Scaler Value 0 6 SCALER1 Scaler n 0x61 8 read-write n 0x0 0x0 VALUE Scaler Value 0 6 STATUSA Status A 0x8 8 read-only n 0x0 0x0 STATE0 Comparator 0 Current State 0 1 STATE1 Comparator 1 Current State 1 1 WSTATE0 Window 0 Current State 4 2 WSTATE0Select ABOVE Signal is above window 0x0 INSIDE Signal is inside window 0x1 BELOW Signal is below window 0x2 STATUSB Status B 0x9 8 read-only n 0x0 0x0 READY0 Comparator 0 Ready 0 1 read-only READY1 Comparator 1 Ready 1 1 read-only SYNCBUSY Synchronization Busy 7 1 STATUSC Status C 0xA 8 read-only n 0x0 0x0 STATE0 Comparator 0 Current State 0 1 STATE1 Comparator 1 Current State 1 1 WSTATE0 Window 0 Current State 4 2 WSTATE0Select ABOVE Signal is above window 0x0 INSIDE Signal is inside window 0x1 BELOW Signal is below window 0x2 WINCTRL Window Control 0xC 8 read-write n 0x0 0x0 WEN0 Window 0 Mode Enable 0 1 WINTSEL0 Window 0 Interrupt Selection 1 2 WINTSEL0Select ABOVE Interrupt on signal above window 0x0 INSIDE Interrupt on signal inside window 0x1 BELOW Interrupt on signal below window 0x2 OUTSIDE Interrupt on signal outside window 0x3 AC1 Analog Comparators 1 AC 0x0 0x0 0x40 registers n AC1 28 AC1_INTREQ 28 COMPCTRL0 Comparator Control n 0x20 32 read-write n 0x0 0x0 ENABLE Enable 0 1 FLEN Filter Length 24 3 FLENSelect OFF No filtering 0x0 MAJ3 3-bit majority function (2 of 3) 0x1 MAJ5 5-bit majority function (3 of 5) 0x2 HYST Hysteresis Enable 19 1 INTSEL Interrupt Selection 5 2 INTSELSelect TOGGLE Interrupt on comparator output toggle 0x0 RISING Interrupt on comparator output rising 0x1 FALLING Interrupt on comparator output falling 0x2 EOC Interrupt on end of comparison (single-shot mode only) 0x3 MUXNEG Negative Input Mux Selection 8 3 MUXNEGSelect PIN0 I/O pin 0 0x0 PIN1 I/O pin 1 0x1 PIN2 I/O pin 2 0x2 PIN3 I/O pin 3 0x3 GND Ground 0x4 VSCALE VDD scaler 0x5 BANDGAP Internal bandgap voltage 0x6 DAC DAC output 0x7 MUXPOS Positive Input Mux Selection 12 2 MUXPOSSelect PIN0 I/O pin 0 0x0 PIN1 I/O pin 1 0x1 PIN2 I/O pin 2 0x2 PIN3 I/O pin 3 0x3 OUT Output 16 2 OUTSelect OFF The output of COMPn is not routed to the COMPn I/O port 0x0 ASYNC The asynchronous output of COMPn is routed to the COMPn I/O port 0x1 SYNC The synchronous output (including filtering) of COMPn is routed to the COMPn I/O port 0x2 SINGLE Single-Shot Mode 1 1 SPEED Speed Selection 2 2 SPEEDSelect LOW Low speed 0x0 HIGH High speed 0x1 SWAP Swap Inputs and Invert 15 1 COMPCTRL1 Comparator Control n 0x34 32 read-write n 0x0 0x0 ENABLE Enable 0 1 FLEN Filter Length 24 3 FLENSelect OFF No filtering 0x0 MAJ3 3-bit majority function (2 of 3) 0x1 MAJ5 5-bit majority function (3 of 5) 0x2 HYST Hysteresis Enable 19 1 INTSEL Interrupt Selection 5 2 INTSELSelect TOGGLE Interrupt on comparator output toggle 0x0 RISING Interrupt on comparator output rising 0x1 FALLING Interrupt on comparator output falling 0x2 EOC Interrupt on end of comparison (single-shot mode only) 0x3 MUXNEG Negative Input Mux Selection 8 3 MUXNEGSelect PIN0 I/O pin 0 0x0 PIN1 I/O pin 1 0x1 PIN2 I/O pin 2 0x2 PIN3 I/O pin 3 0x3 GND Ground 0x4 VSCALE VDD scaler 0x5 BANDGAP Internal bandgap voltage 0x6 DAC DAC output 0x7 MUXPOS Positive Input Mux Selection 12 2 MUXPOSSelect PIN0 I/O pin 0 0x0 PIN1 I/O pin 1 0x1 PIN2 I/O pin 2 0x2 PIN3 I/O pin 3 0x3 OUT Output 16 2 OUTSelect OFF The output of COMPn is not routed to the COMPn I/O port 0x0 ASYNC The asynchronous output of COMPn is routed to the COMPn I/O port 0x1 SYNC The synchronous output (including filtering) of COMPn is routed to the COMPn I/O port 0x2 SINGLE Single-Shot Mode 1 1 SPEED Speed Selection 2 2 SPEEDSelect LOW Low speed 0x0 HIGH High speed 0x1 SWAP Swap Inputs and Invert 15 1 CTRLA Control A 0x0 8 read-write n 0x0 0x0 ENABLE Enable 1 1 LPMUX Low-Power Mux 7 1 RUNSTDBY Run in Standby 2 1 SWRST Software Reset 0 1 write-only CTRLB Control B 0x1 8 write-only n 0x0 0x0 START0 Comparator 0 Start Comparison 0 1 START1 Comparator 1 Start Comparison 1 1 EVCTRL Event Control 0x2 16 read-write n 0x0 0x0 COMPEI0 Comparator 0 Event Input 8 1 COMPEI1 Comparator 1 Event Input 9 1 COMPEO0 Comparator 0 Event Output Enable 0 1 COMPEO1 Comparator 1 Event Output Enable 1 1 WINEO0 Window 0 Event Output Enable 4 1 INTENCLR Interrupt Enable Clear 0x4 8 read-write n 0x0 0x0 COMP0 Comparator 0 Interrupt Enable 0 1 COMP1 Comparator 1 Interrupt Enable 1 1 WIN0 Window 0 Interrupt Enable 4 1 INTENSET Interrupt Enable Set 0x5 8 read-write n 0x0 0x0 COMP0 Comparator 0 Interrupt Enable 0 1 COMP1 Comparator 1 Interrupt Enable 1 1 WIN0 Window 0 Interrupt Enable 4 1 INTFLAG Interrupt Flag Status and Clear 0x6 8 read-write n 0x0 0x0 COMP0 Comparator 0 0 1 COMP1 Comparator 1 1 1 WIN0 Window 0 4 1 SCALER0 Scaler n 0x40 8 read-write n 0x0 0x0 VALUE Scaler Value 0 6 SCALER1 Scaler n 0x61 8 read-write n 0x0 0x0 VALUE Scaler Value 0 6 STATUSA Status A 0x8 8 read-only n 0x0 0x0 STATE0 Comparator 0 Current State 0 1 STATE1 Comparator 1 Current State 1 1 WSTATE0 Window 0 Current State 4 2 WSTATE0Select ABOVE Signal is above window 0x0 INSIDE Signal is inside window 0x1 BELOW Signal is below window 0x2 STATUSB Status B 0x9 8 read-only n 0x0 0x0 READY0 Comparator 0 Ready 0 1 read-only READY1 Comparator 1 Ready 1 1 read-only SYNCBUSY Synchronization Busy 7 1 STATUSC Status C 0xA 8 read-only n 0x0 0x0 STATE0 Comparator 0 Current State 0 1 STATE1 Comparator 1 Current State 1 1 WSTATE0 Window 0 Current State 4 2 WSTATE0Select ABOVE Signal is above window 0x0 INSIDE Signal is inside window 0x1 BELOW Signal is below window 0x2 WINCTRL Window Control 0xC 8 read-write n 0x0 0x0 WEN0 Window 0 Mode Enable 0 1 WINTSEL0 Window 0 Interrupt Selection 1 2 WINTSEL0Select ABOVE Interrupt on signal above window 0x0 INSIDE Interrupt on signal inside window 0x1 BELOW Interrupt on signal below window 0x2 OUTSIDE Interrupt on signal outside window 0x3 ADC Analog Digital Converter ADC 0x0 0x0 0x2C registers n ADC 23 ADC_INTREQ 23 AVGCTRL Average Control 0x2 8 read-write n 0x0 0x0 ADJRES Adjusting Result / Division Coefficient 4 3 SAMPLENUM Number of Samples to be Collected 0 4 SAMPLENUMSelect 1 1 sample 0x0 2 2 samples 0x1 4 4 samples 0x2 8 8 samples 0x3 16 16 samples 0x4 32 32 samples 0x5 64 64 samples 0x6 128 128 samples 0x7 256 256 samples 0x8 512 512 samples 0x9 1024 1024 samples 0xa CALIB Calibration 0x28 16 read-write n 0x0 0x0 BIAS_CAL Bias Calibration Value 8 3 LINEARITY_CAL Linearity Calibration Value 0 8 CTRLA Control A 0x0 8 read-write n 0x0 0x0 ENABLE Enable 1 1 RUNSTDBY Run in Standby 2 1 SWRST Software Reset 0 1 CTRLB Control B 0x4 16 read-write n 0x0 0x0 CORREN Digital Correction Logic Enabled 3 1 DIFFMODE Differential Mode 0 1 FREERUN Free Running Mode 2 1 LEFTADJ Left-Adjusted Result 1 1 PRESCALER Prescaler Configuration 8 3 PRESCALERSelect DIV4 Peripheral clock divided by 4 0x0 DIV8 Peripheral clock divided by 8 0x1 DIV16 Peripheral clock divided by 16 0x2 DIV32 Peripheral clock divided by 32 0x3 DIV64 Peripheral clock divided by 64 0x4 DIV128 Peripheral clock divided by 128 0x5 DIV256 Peripheral clock divided by 256 0x6 DIV512 Peripheral clock divided by 512 0x7 RESSEL Conversion Result Resolution 4 2 RESSELSelect 12BIT 12-bit result 0x0 16BIT For averaging mode output 0x1 10BIT 10-bit result 0x2 8BIT 8-bit result 0x3 DBGCTRL Debug Control 0x2A 8 read-write n 0x0 0x0 DBGRUN Debug Run 0 1 EVCTRL Event Control 0x14 8 read-write n 0x0 0x0 RESRDYEO Result Ready Event Out 4 1 STARTEI Start Conversion Event In 0 1 SYNCEI Synchronization Event In 1 1 WINMONEO Window Monitor Event Out 5 1 GAINCORR Gain Correction 0x24 16 read-write n 0x0 0x0 GAINCORR Gain Correction Value 0 12 INPUTCTRL Input Control 0x10 32 read-write n 0x0 0x0 GAIN Gain Factor Selection 24 4 GAINSelect 1X 1x 0x0 2X 2x 0x1 4X 4x 0x2 8X 8x 0x3 16X 16x 0x4 DIV2 1/2x 0xf INPUTOFFSET Positive Mux Setting Offset 20 4 INPUTSCAN Number of Input Channels Included in Scan 16 4 MUXNEG Negative Mux Input Selection 8 5 MUXNEGSelect PIN0 ADC AIN0 Pin 0x0 PIN1 ADC AIN1 Pin 0x1 GND Internal Ground 0x18 IOGND I/O Ground 0x19 PIN2 ADC AIN2 Pin 0x2 PIN3 ADC AIN3 Pin 0x3 PIN4 ADC AIN4 Pin 0x4 PIN5 ADC AIN5 Pin 0x5 PIN6 ADC AIN6 Pin 0x6 PIN7 ADC AIN7 Pin 0x7 MUXPOS Positive Mux Input Selection 0 5 MUXPOSSelect PIN0 ADC AIN0 Pin 0x0 PIN1 ADC AIN1 Pin 0x1 PIN16 ADC AIN16 Pin 0x10 PIN17 ADC AIN17 Pin 0x11 PIN18 ADC AIN18 Pin 0x12 PIN19 ADC AIN19 Pin 0x13 TEMP Temperature Reference 0x18 BANDGAP Bandgap Voltage 0x19 SCALEDCOREVCC 1/4 Scaled Core Supply 0x1a SCALEDIOVCC 1/4 Scaled I/O Supply 0x1b DAC DAC Output 0x1c PIN2 ADC AIN2 Pin 0x2 PIN3 ADC AIN3 Pin 0x3 PIN4 ADC AIN4 Pin 0x4 PIN5 ADC AIN5 Pin 0x5 PIN6 ADC AIN6 Pin 0x6 PIN7 ADC AIN7 Pin 0x7 PIN8 ADC AIN8 Pin 0x8 PIN9 ADC AIN9 Pin 0x9 PIN10 ADC AIN10 Pin 0xa PIN11 ADC AIN11 Pin 0xb PIN12 ADC AIN12 Pin 0xc PIN13 ADC AIN13 Pin 0xd PIN14 ADC AIN14 Pin 0xe PIN15 ADC AIN15 Pin 0xf INTENCLR Interrupt Enable Clear 0x16 8 read-write n 0x0 0x0 OVERRUN Overrun Interrupt Enable 1 1 RESRDY Result Ready Interrupt Enable 0 1 SYNCRDY Synchronization Ready Interrupt Enable 3 1 WINMON Window Monitor Interrupt Enable 2 1 INTENSET Interrupt Enable Set 0x17 8 read-write n 0x0 0x0 OVERRUN Overrun Interrupt Enable 1 1 RESRDY Result Ready Interrupt Enable 0 1 SYNCRDY Synchronization Ready Interrupt Enable 3 1 WINMON Window Monitor Interrupt Enable 2 1 INTFLAG Interrupt Flag Status and Clear 0x18 8 read-write n 0x0 0x0 OVERRUN Overrun 1 1 RESRDY Result Ready 0 1 SYNCRDY Synchronization Ready 3 1 WINMON Window Monitor 2 1 OFFSETCORR Offset Correction 0x26 16 read-write n 0x0 0x0 OFFSETCORR Offset Correction Value 0 12 REFCTRL Reference Control 0x1 8 read-write n 0x0 0x0 REFCOMP Reference Buffer Offset Compensation Enable 7 1 REFSEL Reference Selection 0 4 REFSELSelect INT1V 1.0V voltage reference 0x0 INTVCC0 1/1.48 VDDANA 0x1 INTVCC1 1/2 VDDANA (only for VDDANA > 2.0V) 0x2 AREFA External reference 0x3 AREFB External reference 0x4 RESULT Result 0x1A 16 read-only n 0x0 0x0 RESULT Result Conversion Value 0 16 read-only SAMPCTRL Sampling Time Control 0x3 8 read-write n 0x0 0x0 SAMPLEN Sampling Time Length 0 6 STATUS Status 0x19 8 read-only n 0x0 0x0 SYNCBUSY Synchronization Busy 7 1 read-only SWTRIG Software Trigger 0xC 8 read-write n 0x0 0x0 FLUSH ADC Conversion Flush 0 1 START ADC Start Conversion 1 1 WINCTRL Window Monitor Control 0x8 8 read-write n 0x0 0x0 WINMODE Window Monitor Mode 0 3 WINMODESelect DISABLE No window mode (default) 0x0 MODE1 Mode 1: RESULT > WINLT 0x1 MODE2 Mode 2: RESULT < WINUT 0x2 MODE3 Mode 3: WINLT < RESULT < WINUT 0x3 MODE4 Mode 4: !(WINLT < RESULT < WINUT) 0x4 WINLT Window Monitor Lower Threshold 0x1C 16 read-write n 0x0 0x0 WINLT Window Lower Threshold 0 16 WINUT Window Monitor Upper Threshold 0x20 16 read-write n 0x0 0x0 WINUT Window Upper Threshold 0 16 DAC Digital Analog Converter DAC 0x0 0x0 0x10 registers n DAC 25 DAC_INTREQ 25 CTRLA Control A 0x0 8 read-write n 0x0 0x0 ENABLE Enable 1 1 RUNSTDBY Run in Standby 2 1 SWRST Software Reset 0 1 CTRLB Control B 0x1 8 read-write n 0x0 0x0 BDWP Bypass DATABUF Write Protection 4 1 EOEN External Output Enable 0 1 IOEN Internal Output Enable 1 1 LEFTADJ Left Adjusted Data 2 1 REFSEL Reference Selection 6 2 REFSELSelect INT1V Internal 1.0V reference 0x0 AVCC AVCC 0x1 VREFP External reference 0x2 VPD Voltage Pump Disable 3 1 DATA Data 0x8 16 read-write n 0x0 0x0 DATA Data value to be converted 0 16 DATABUF Data Buffer 0xC 16 read-write n 0x0 0x0 DATABUF Data Buffer 0 16 EVCTRL Event Control 0x2 8 read-write n 0x0 0x0 EMPTYEO Data Buffer Empty Event Output 1 1 STARTEI Start Conversion Event Input 0 1 INTENCLR Interrupt Enable Clear 0x4 8 read-write n 0x0 0x0 EMPTY Data Buffer Empty Interrupt Enable 1 1 SYNCRDY Synchronization Ready Interrupt Enable 2 1 UNDERRUN Underrun Interrupt Enable 0 1 INTENSET Interrupt Enable Set 0x5 8 read-write n 0x0 0x0 EMPTY Data Buffer Empty Interrupt Enable 1 1 SYNCRDY Synchronization Ready Interrupt Enable 2 1 UNDERRUN Underrun Interrupt Enable 0 1 INTFLAG Interrupt Flag Status and Clear 0x6 8 read-write n 0x0 0x0 EMPTY Data Buffer Empty 1 1 SYNCRDY Synchronization Ready 2 1 UNDERRUN Underrun 0 1 STATUS Status 0x7 8 read-only n 0x0 0x0 SYNCBUSY Synchronization Busy Status 7 1 read-only DMAC Direct Memory Access Controller DMAC 0x0 0x0 0x2C registers n DMAC 6 DMAC_INTREQ 6 ACTIVE Active Channel and Levels 0x30 32 read-only n 0x0 0x0 ABUSY Active Channel Busy 15 1 read-only BTCNT Active Channel Block Transfer Count 16 16 read-only ID Active Channel ID 8 5 read-only LVLEX0 Level 0 Channel Trigger Request Executing 0 1 read-only LVLEX1 Level 1 Channel Trigger Request Executing 1 1 read-only LVLEX2 Level 2 Channel Trigger Request Executing 2 1 read-only LVLEX3 Level 3 Channel Trigger Request Executing 3 1 read-only BASEADDR Descriptor Memory Section Base Address 0x34 32 read-write n 0x0 0x0 BASEADDR Descriptor Memory Base Address 0 32 BUSYCH Busy Channels 0x28 32 read-only n 0x0 0x0 BUSYCH0 Busy Channel 0 0 1 read-only BUSYCH1 Busy Channel 1 1 1 read-only BUSYCH10 Busy Channel 10 10 1 read-only BUSYCH11 Busy Channel 11 11 1 read-only BUSYCH2 Busy Channel 2 2 1 read-only BUSYCH3 Busy Channel 3 3 1 read-only BUSYCH4 Busy Channel 4 4 1 read-only BUSYCH5 Busy Channel 5 5 1 read-only BUSYCH6 Busy Channel 6 6 1 read-only BUSYCH7 Busy Channel 7 7 1 read-only BUSYCH8 Busy Channel 8 8 1 read-only BUSYCH9 Busy Channel 9 9 1 read-only CHCTRLA Channel Control A 0x40 8 read-write n 0x0 0x0 ENABLE Channel Enable 1 1 SWRST Channel Software Reset 0 1 CHCTRLB Channel Control B 0x44 32 read-write n 0x0 0x0 CMD Software Command 24 2 CMDSelect NOACT No action 0x0 SUSPEND Channel suspend operation 0x1 RESUME Channel resume operation 0x2 EVACT Event Input Action 0 3 EVACTSelect NOACT No action 0x0 TRIG Transfer and periodic transfer trigger 0x1 CTRIG Conditional transfer trigger 0x2 CBLOCK Conditional block transfer 0x3 SUSPEND Channel suspend operation 0x4 RESUME Channel resume operation 0x5 SSKIP Skip next block suspend action 0x6 EVIE Channel Event Input Enable 3 1 EVOE Channel Event Output Enable 4 1 LVL Channel Arbitration Level 5 2 LVLSelect LVL0 Channel Priority Level 0 0x0 LVL1 Channel Priority Level 1 0x1 LVL2 Channel Priority Level 2 0x2 LVL3 Channel Priority Level 3 0x3 TRIGACT Trigger Action 22 2 TRIGACTSelect BLOCK One trigger required for each block transfer 0x0 BEAT One trigger required for each beat transfer 0x2 TRANSACTION One trigger required for each transaction 0x3 TRIGSRC Peripheral Trigger Source 8 6 TRIGSRCSelect DISABLE Only software/event triggers 0x0 CHID Channel ID 0x3F 8 read-write n 0x0 0x0 ID Channel ID 0 4 CHINTENCLR Channel Interrupt Enable Clear 0x4C 8 read-write n 0x0 0x0 SUSP Channel Suspend Interrupt Enable 2 1 TCMPL Transfer Complete Interrupt Enable 1 1 TERR Transfer Error Interrupt Enable 0 1 CHINTENSET Channel Interrupt Enable Set 0x4D 8 read-write n 0x0 0x0 SUSP Channel Suspend Interrupt Enable 2 1 TCMPL Transfer Complete Interrupt Enable 1 1 TERR Transfer Error Interrupt Enable 0 1 CHINTFLAG Channel Interrupt Flag Status and Clear 0x4E 8 read-write n 0x0 0x0 SUSP Channel Suspend 2 1 TCMPL Transfer Complete 1 1 TERR Transfer Error 0 1 CHSTATUS Channel Status 0x4F 8 read-only n 0x0 0x0 BUSY Channel Busy 1 1 read-only FERR Fetch Error 2 1 read-only PEND Channel Pending 0 1 read-only CRCCHKSUM CRC Checksum 0x8 32 read-write n 0x0 0x0 CRCCHKSUM CRC Checksum 0 32 CRCCTRL CRC Control 0x2 16 read-write n 0x0 0x0 CRCBEATSIZE CRC Beat Size 0 2 CRCBEATSIZESelect BYTE Byte bus access 0x0 HWORD Half-word bus access 0x1 WORD Word bus access 0x2 CRCPOLY CRC Polynomial Type 2 2 CRCPOLYSelect CRC16 CRC-16 (CRC-CCITT) 0x0 CRC32 CRC32 (IEEE 802.3) 0x1 CRCSRC CRC Input Source 8 6 CRCSRCSelect NOACT No action 0x0 IO I/O interface 0x1 CRCDATAIN CRC Data Input 0x4 32 read-write n 0x0 0x0 CRCDATAIN CRC Data Input 0 32 CRCSTATUS CRC Status 0xC 8 read-write n 0x0 0x0 CRCBUSY CRC Module Busy 0 1 CRCZERO CRC Zero 1 1 read-only CTRL Control 0x0 16 read-write n 0x0 0x0 CRCENABLE CRC Enable 2 1 DMAENABLE DMA Enable 1 1 LVLEN0 Priority Level 0 Enable 8 1 LVLEN1 Priority Level 1 Enable 9 1 LVLEN2 Priority Level 2 Enable 10 1 LVLEN3 Priority Level 3 Enable 11 1 SWRST Software Reset 0 1 DBGCTRL Debug Control 0xD 8 read-write n 0x0 0x0 DBGRUN Debug Run 0 1 INTPEND Interrupt Pending 0x20 16 read-write n 0x0 0x0 BUSY Busy 14 1 read-only FERR Fetch Error 13 1 read-only ID Channel ID 0 4 PEND Pending 15 1 read-only SUSP Channel Suspend 10 1 TCMPL Transfer Complete 9 1 TERR Transfer Error 8 1 INTSTATUS Interrupt Status 0x24 32 read-only n 0x0 0x0 CHINT0 Channel 0 Pending Interrupt 0 1 read-only CHINT1 Channel 1 Pending Interrupt 1 1 read-only CHINT10 Channel 10 Pending Interrupt 10 1 read-only CHINT11 Channel 11 Pending Interrupt 11 1 read-only CHINT2 Channel 2 Pending Interrupt 2 1 read-only CHINT3 Channel 3 Pending Interrupt 3 1 read-only CHINT4 Channel 4 Pending Interrupt 4 1 read-only CHINT5 Channel 5 Pending Interrupt 5 1 read-only CHINT6 Channel 6 Pending Interrupt 6 1 read-only CHINT7 Channel 7 Pending Interrupt 7 1 read-only CHINT8 Channel 8 Pending Interrupt 8 1 read-only CHINT9 Channel 9 Pending Interrupt 9 1 read-only PENDCH Pending Channels 0x2C 32 read-only n 0x0 0x0 PENDCH0 Pending Channel 0 0 1 read-only PENDCH1 Pending Channel 1 1 1 read-only PENDCH10 Pending Channel 10 10 1 read-only PENDCH11 Pending Channel 11 11 1 read-only PENDCH2 Pending Channel 2 2 1 read-only PENDCH3 Pending Channel 3 3 1 read-only PENDCH4 Pending Channel 4 4 1 read-only PENDCH5 Pending Channel 5 5 1 read-only PENDCH6 Pending Channel 6 6 1 read-only PENDCH7 Pending Channel 7 7 1 read-only PENDCH8 Pending Channel 8 8 1 read-only PENDCH9 Pending Channel 9 9 1 read-only PRICTRL0 Priority Control 0 0x14 32 read-write n 0x0 0x0 LVLPRI0 Level 0 Channel Priority Number 0 4 LVLPRI1 Level 1 Channel Priority Number 8 4 LVLPRI2 Level 2 Channel Priority Number 16 4 LVLPRI3 Level 3 Channel Priority Number 24 4 RRLVLEN0 Level 0 Round-Robin Scheduling Enable 7 1 RRLVLEN1 Level 1 Round-Robin Scheduling Enable 15 1 RRLVLEN2 Level 2 Round-Robin Scheduling Enable 23 1 RRLVLEN3 Level 3 Round-Robin Scheduling Enable 31 1 QOSCTRL QOS Control 0xE 8 read-write n 0x0 0x0 DQOS Data Transfer Quality of Service 4 2 DQOSSelect DISABLE Background (no sensitive operation) 0x0 LOW Sensitive Bandwidth 0x1 MEDIUM Sensitive Latency 0x2 HIGH Critical Latency 0x3 FQOS Fetch Quality of Service 2 2 FQOSSelect DISABLE Background (no sensitive operation) 0x0 LOW Sensitive Bandwidth 0x1 MEDIUM Sensitive Latency 0x2 HIGH Critical Latency 0x3 WRBQOS Write-Back Quality of Service 0 2 WRBQOSSelect DISABLE Background (no sensitive operation) 0x0 LOW Sensitive Bandwidth 0x1 MEDIUM Sensitive Latency 0x2 HIGH Critical Latency 0x3 SWTRIGCTRL Software Trigger Control 0x10 32 read-write n 0x0 0x0 SWTRIG0 Channel 0 Software Trigger 0 1 SWTRIG1 Channel 1 Software Trigger 1 1 SWTRIG10 Channel 10 Software Trigger 10 1 SWTRIG11 Channel 11 Software Trigger 11 1 SWTRIG2 Channel 2 Software Trigger 2 1 SWTRIG3 Channel 3 Software Trigger 3 1 SWTRIG4 Channel 4 Software Trigger 4 1 SWTRIG5 Channel 5 Software Trigger 5 1 SWTRIG6 Channel 6 Software Trigger 6 1 SWTRIG7 Channel 7 Software Trigger 7 1 SWTRIG8 Channel 8 Software Trigger 8 1 SWTRIG9 Channel 9 Software Trigger 9 1 WRBADDR Write-Back Memory Section Base Address 0x38 32 read-write n 0x0 0x0 WRBADDR Write-Back Memory Base Address 0 32 DSU Device Service Unit DSU 0x0 0x0 0x2000 registers n ADDR Address 0x4 32 read-write n 0x0 0x0 ADDR Address 2 30 CID0 Component Identification 0 0x1FF0 32 read-only n 0x0 0x0 PREAMBLEB0 Preamble Byte 0 0 8 read-only CID1 Component Identification 1 0x1FF4 32 read-only n 0x0 0x0 CCLASS Component Class 4 4 read-only PREAMBLE Preamble 0 4 read-only CID2 Component Identification 2 0x1FF8 32 read-only n 0x0 0x0 PREAMBLEB2 Preamble Byte 2 0 8 read-only CID3 Component Identification 3 0x1FFC 32 read-only n 0x0 0x0 PREAMBLEB3 Preamble Byte 3 0 8 CTRL Control 0x0 8 write-only n 0x0 0x0 CE Chip Erase 4 1 write-only CRC 32-bit Cyclic Redundancy Check 2 1 write-only MBIST Memory Built-In Self-Test 3 1 write-only SWRST Software Reset 0 1 write-only DATA Data 0xC 32 read-write n 0x0 0x0 DATA Data 0 32 DCC0 Debug Communication Channel n 0x20 32 read-write n 0x0 0x0 DATA Data 0 32 DCC1 Debug Communication Channel n 0x34 32 read-write n 0x0 0x0 DATA Data 0 32 DID Device Identification 0x18 32 read-only n 0x0 0x0 DEVSEL Device Select 0 8 read-only DIE Die Identification 12 4 read-only FAMILY Product Family 23 5 read-only PROCESSOR Processor 28 4 read-only REVISION Revision 8 4 read-only SERIES Product Series 16 6 read-only END Coresight ROM Table End 0x1008 32 read-only n 0x0 0x0 END End Marker 0 32 ENTRY0 Coresight ROM Table Entry n 0x2000 32 read-only n 0x0 0x0 ADDOFF Address Offset 12 20 read-only EPRES Entry Present 0 1 FMT Format 1 1 read-only ENTRY1 Coresight ROM Table Entry n 0x3004 32 read-only n 0x0 0x0 ADDOFF Address Offset 12 20 read-only EPRES Entry Present 0 1 FMT Format 1 1 read-only LENGTH Length 0x8 32 read-write n 0x0 0x0 LENGTH Length 2 30 MEMTYPE Coresight ROM Table Memory Type 0x1FCC 32 read-only n 0x0 0x0 SMEMP System Memory Present 0 1 PID0 Peripheral Identification 0 0x1FE0 32 read-only n 0x0 0x0 PARTNBL Part Number Low 0 8 PID1 Peripheral Identification 1 0x1FE4 32 read-only n 0x0 0x0 JEPIDCL Low part of the JEP-106 Identity Code 4 4 read-only PARTNBH Part Number High 0 4 PID2 Peripheral Identification 2 0x1FE8 32 read-only n 0x0 0x0 JEPIDCH JEP-106 Identity Code High 0 3 JEPU JEP-106 Identity Code is used 3 1 read-only REVISION Revision Number 4 4 read-only PID3 Peripheral Identification 3 0x1FEC 32 read-only n 0x0 0x0 CUSMOD ARM CUSMOD 0 4 REVAND Revision Number 4 4 read-only PID4 Peripheral Identification 4 0x1FD0 32 read-only n 0x0 0x0 FKBC 4KB Count 4 4 read-only JEPCC JEP-106 Continuation Code 0 4 STATUSA Status A 0x1 8 read-write n 0x0 0x0 BERR Bus Error 2 1 CRSTEXT CPU Reset Phase Extension 1 1 DONE Done 0 1 FAIL Failure 3 1 PERR Protection Error 4 1 STATUSB Status B 0x2 8 read-only n 0x0 0x0 DBGPRES Debugger Present 1 1 DCCD0 Debug Communication Channel 0 Dirty 2 1 DCCD1 Debug Communication Channel 1 Dirty 3 1 HPE Hot-Plugging Enable 4 1 PROT Protected 0 1 EIC External Interrupt Controller EIC 0x0 0x0 0x40 registers n EIC 4 EIC_INTREQ 4 CONFIG0 Configuration n 0x30 32 read-write n 0x0 0x0 FILTEN0 Filter 0 Enable 3 1 FILTEN1 Filter 1 Enable 7 1 FILTEN2 Filter 2 Enable 11 1 FILTEN3 Filter 3 Enable 15 1 FILTEN4 Filter 4 Enable 19 1 FILTEN5 Filter 5 Enable 23 1 FILTEN6 Filter 6 Enable 27 1 FILTEN7 Filter 7 Enable 31 1 SENSE0 Input Sense 0 Configuration 0 3 SENSE0Select NONE No detection 0x0 RISE Rising-edge detection 0x1 FALL Falling-edge detection 0x2 BOTH Both-edges detection 0x3 HIGH High-level detection 0x4 LOW Low-level detection 0x5 SENSE1 Input Sense 1 Configuration 4 3 SENSE1Select NONE No detection 0x0 RISE Rising edge detection 0x1 FALL Falling edge detection 0x2 BOTH Both edges detection 0x3 HIGH High level detection 0x4 LOW Low level detection 0x5 SENSE2 Input Sense 2 Configuration 8 3 SENSE2Select NONE No detection 0x0 RISE Rising edge detection 0x1 FALL Falling edge detection 0x2 BOTH Both edges detection 0x3 HIGH High level detection 0x4 LOW Low level detection 0x5 SENSE3 Input Sense 3 Configuration 12 3 SENSE3Select NONE No detection 0x0 RISE Rising edge detection 0x1 FALL Falling edge detection 0x2 BOTH Both edges detection 0x3 HIGH High level detection 0x4 LOW Low level detection 0x5 SENSE4 Input Sense 4 Configuration 16 3 SENSE4Select NONE No detection 0x0 RISE Rising edge detection 0x1 FALL Falling edge detection 0x2 BOTH Both edges detection 0x3 HIGH High level detection 0x4 LOW Low level detection 0x5 SENSE5 Input Sense 5 Configuration 20 3 SENSE5Select NONE No detection 0x0 RISE Rising edge detection 0x1 FALL Falling edge detection 0x2 BOTH Both edges detection 0x3 HIGH High level detection 0x4 LOW Low level detection 0x5 SENSE6 Input Sense 6 Configuration 24 3 SENSE6Select NONE No detection 0x0 RISE Rising edge detection 0x1 FALL Falling edge detection 0x2 BOTH Both edges detection 0x3 HIGH High level detection 0x4 LOW Low level detection 0x5 SENSE7 Input Sense 7 Configuration 28 3 SENSE7Select NONE No detection 0x0 RISE Rising edge detection 0x1 FALL Falling edge detection 0x2 BOTH Both edges detection 0x3 HIGH High level detection 0x4 LOW Low level detection 0x5 CONFIG1 Configuration n 0x4C 32 read-write n 0x0 0x0 FILTEN0 Filter 0 Enable 3 1 FILTEN1 Filter 1 Enable 7 1 FILTEN2 Filter 2 Enable 11 1 FILTEN3 Filter 3 Enable 15 1 FILTEN4 Filter 4 Enable 19 1 FILTEN5 Filter 5 Enable 23 1 FILTEN6 Filter 6 Enable 27 1 FILTEN7 Filter 7 Enable 31 1 SENSE0 Input Sense 0 Configuration 0 3 SENSE0Select NONE No detection 0x0 RISE Rising-edge detection 0x1 FALL Falling-edge detection 0x2 BOTH Both-edges detection 0x3 HIGH High-level detection 0x4 LOW Low-level detection 0x5 SENSE1 Input Sense 1 Configuration 4 3 SENSE1Select NONE No detection 0x0 RISE Rising edge detection 0x1 FALL Falling edge detection 0x2 BOTH Both edges detection 0x3 HIGH High level detection 0x4 LOW Low level detection 0x5 SENSE2 Input Sense 2 Configuration 8 3 SENSE2Select NONE No detection 0x0 RISE Rising edge detection 0x1 FALL Falling edge detection 0x2 BOTH Both edges detection 0x3 HIGH High level detection 0x4 LOW Low level detection 0x5 SENSE3 Input Sense 3 Configuration 12 3 SENSE3Select NONE No detection 0x0 RISE Rising edge detection 0x1 FALL Falling edge detection 0x2 BOTH Both edges detection 0x3 HIGH High level detection 0x4 LOW Low level detection 0x5 SENSE4 Input Sense 4 Configuration 16 3 SENSE4Select NONE No detection 0x0 RISE Rising edge detection 0x1 FALL Falling edge detection 0x2 BOTH Both edges detection 0x3 HIGH High level detection 0x4 LOW Low level detection 0x5 SENSE5 Input Sense 5 Configuration 20 3 SENSE5Select NONE No detection 0x0 RISE Rising edge detection 0x1 FALL Falling edge detection 0x2 BOTH Both edges detection 0x3 HIGH High level detection 0x4 LOW Low level detection 0x5 SENSE6 Input Sense 6 Configuration 24 3 SENSE6Select NONE No detection 0x0 RISE Rising edge detection 0x1 FALL Falling edge detection 0x2 BOTH Both edges detection 0x3 HIGH High level detection 0x4 LOW Low level detection 0x5 SENSE7 Input Sense 7 Configuration 28 3 SENSE7Select NONE No detection 0x0 RISE Rising edge detection 0x1 FALL Falling edge detection 0x2 BOTH Both edges detection 0x3 HIGH High level detection 0x4 LOW Low level detection 0x5 CTRL Control 0x0 8 read-write n 0x0 0x0 ENABLE Enable 1 1 SWRST Software Reset 0 1 EVCTRL Event Control 0x4 32 read-write n 0x0 0x0 EXTINTEO0 External Interrupt 0 Event Output Enable 0 1 EXTINTEO1 External Interrupt 1 Event Output Enable 1 1 EXTINTEO10 External Interrupt 10 Event Output Enable 10 1 EXTINTEO11 External Interrupt 11 Event Output Enable 11 1 EXTINTEO12 External Interrupt 12 Event Output Enable 12 1 EXTINTEO13 External Interrupt 13 Event Output Enable 13 1 EXTINTEO14 External Interrupt 14 Event Output Enable 14 1 EXTINTEO15 External Interrupt 15 Event Output Enable 15 1 EXTINTEO2 External Interrupt 2 Event Output Enable 2 1 EXTINTEO3 External Interrupt 3 Event Output Enable 3 1 EXTINTEO4 External Interrupt 4 Event Output Enable 4 1 EXTINTEO5 External Interrupt 5 Event Output Enable 5 1 EXTINTEO6 External Interrupt 6 Event Output Enable 6 1 EXTINTEO7 External Interrupt 7 Event Output Enable 7 1 EXTINTEO8 External Interrupt 8 Event Output Enable 8 1 EXTINTEO9 External Interrupt 9 Event Output Enable 9 1 INTENCLR Interrupt Enable Clear 0x8 32 read-write n 0x0 0x0 EXTINT0 External Interrupt 0 Enable 0 1 EXTINT1 External Interrupt 1 Enable 1 1 EXTINT10 External Interrupt 10 Enable 10 1 EXTINT11 External Interrupt 11 Enable 11 1 EXTINT12 External Interrupt 12 Enable 12 1 EXTINT13 External Interrupt 13 Enable 13 1 EXTINT14 External Interrupt 14 Enable 14 1 EXTINT15 External Interrupt 15 Enable 15 1 EXTINT2 External Interrupt 2 Enable 2 1 EXTINT3 External Interrupt 3 Enable 3 1 EXTINT4 External Interrupt 4 Enable 4 1 EXTINT5 External Interrupt 5 Enable 5 1 EXTINT6 External Interrupt 6 Enable 6 1 EXTINT7 External Interrupt 7 Enable 7 1 EXTINT8 External Interrupt 8 Enable 8 1 EXTINT9 External Interrupt 9 Enable 9 1 INTENSET Interrupt Enable Set 0xC 32 read-write n 0x0 0x0 EXTINT0 External Interrupt 0 Enable 0 1 EXTINT1 External Interrupt 1 Enable 1 1 EXTINT10 External Interrupt 10 Enable 10 1 EXTINT11 External Interrupt 11 Enable 11 1 EXTINT12 External Interrupt 12 Enable 12 1 EXTINT13 External Interrupt 13 Enable 13 1 EXTINT14 External Interrupt 14 Enable 14 1 EXTINT15 External Interrupt 15 Enable 15 1 EXTINT2 External Interrupt 2 Enable 2 1 EXTINT3 External Interrupt 3 Enable 3 1 EXTINT4 External Interrupt 4 Enable 4 1 EXTINT5 External Interrupt 5 Enable 5 1 EXTINT6 External Interrupt 6 Enable 6 1 EXTINT7 External Interrupt 7 Enable 7 1 EXTINT8 External Interrupt 8 Enable 8 1 EXTINT9 External Interrupt 9 Enable 9 1 INTFLAG Interrupt Flag Status and Clear 0x10 32 read-write n 0x0 0x0 EXTINT0 External Interrupt 0 0 1 EXTINT1 External Interrupt 1 1 1 EXTINT10 External Interrupt 10 10 1 EXTINT11 External Interrupt 11 11 1 EXTINT12 External Interrupt 12 12 1 EXTINT13 External Interrupt 13 13 1 EXTINT14 External Interrupt 14 14 1 EXTINT15 External Interrupt 15 15 1 EXTINT2 External Interrupt 2 2 1 EXTINT3 External Interrupt 3 3 1 EXTINT4 External Interrupt 4 4 1 EXTINT5 External Interrupt 5 5 1 EXTINT6 External Interrupt 6 6 1 EXTINT7 External Interrupt 7 7 1 EXTINT8 External Interrupt 8 8 1 EXTINT9 External Interrupt 9 9 1 NMICTRL Non-Maskable Interrupt Control 0x2 8 read-write n 0x0 0x0 NMIFILTEN Non-Maskable Interrupt Filter Enable 3 1 NMISENSE Non-Maskable Interrupt Sense 0 3 NMISENSESelect NONE No detection 0x0 RISE Rising-edge detection 0x1 FALL Falling-edge detection 0x2 BOTH Both-edges detection 0x3 HIGH High-level detection 0x4 LOW Low-level detection 0x5 NMIFLAG Non-Maskable Interrupt Flag Status and Clear 0x3 8 read-write n 0x0 0x0 NMI Non-Maskable Interrupt 0 1 STATUS Status 0x1 8 read-only n 0x0 0x0 SYNCBUSY Synchronization Busy 7 1 read-only WAKEUP Wake-Up Enable 0x14 32 read-write n 0x0 0x0 WAKEUPEN0 External Interrupt 0 Wake-up Enable 0 1 WAKEUPEN1 External Interrupt 1 Wake-up Enable 1 1 WAKEUPEN10 External Interrupt 10 Wake-up Enable 10 1 WAKEUPEN11 External Interrupt 11 Wake-up Enable 11 1 WAKEUPEN12 External Interrupt 12 Wake-up Enable 12 1 WAKEUPEN13 External Interrupt 13 Wake-up Enable 13 1 WAKEUPEN14 External Interrupt 14 Wake-up Enable 14 1 WAKEUPEN15 External Interrupt 15 Wake-up Enable 15 1 WAKEUPEN2 External Interrupt 2 Wake-up Enable 2 1 WAKEUPEN3 External Interrupt 3 Wake-up Enable 3 1 WAKEUPEN4 External Interrupt 4 Wake-up Enable 4 1 WAKEUPEN5 External Interrupt 5 Wake-up Enable 5 1 WAKEUPEN6 External Interrupt 6 Wake-up Enable 6 1 WAKEUPEN7 External Interrupt 7 Wake-up Enable 7 1 WAKEUPEN8 External Interrupt 8 Wake-up Enable 8 1 WAKEUPEN9 External Interrupt 9 Wake-up Enable 9 1 EVSYS Event System Interface EVSYS 0x0 0x0 0x2C registers n EVSYS 8 EVSYS_INTREQ 8 CHANNEL Channel 0x4 32 read-write n 0x0 0x0 CHANNEL Channel Selection 0 4 EDGSEL Edge Detection Selection 26 2 EDGSELSelect NO_EVT_OUTPUT No event output when using the resynchronized or synchronous path 0x0 RISING_EDGE Event detection only on the rising edge of the signal from the event generator when using the resynchronized or synchronous path 0x1 FALLING_EDGE Event detection only on the falling edge of the signal from the event generator when using the resynchronized or synchronous path 0x2 BOTH_EDGES Event detection on rising and falling edges of the signal from the event generator when using the resynchronized or synchronous path 0x3 EVGEN Event Generator Selection 16 7 PATH Path Selection 24 2 PATHSelect SYNCHRONOUS Synchronous path 0x0 RESYNCHRONIZED Resynchronized path 0x1 ASYNCHRONOUS Asynchronous path 0x2 SWEVT Software Event 8 1 CHSTATUS Channel Status 0xC 32 read-only n 0x0 0x0 CHBUSY0 Channel 0 Busy 8 1 read-only CHBUSY1 Channel 1 Busy 9 1 read-only CHBUSY10 Channel 10 Busy 26 1 read-only CHBUSY11 Channel 11 Busy 27 1 read-only CHBUSY2 Channel 2 Busy 10 1 read-only CHBUSY3 Channel 3 Busy 11 1 read-only CHBUSY4 Channel 4 Busy 12 1 read-only CHBUSY5 Channel 5 Busy 13 1 read-only CHBUSY6 Channel 6 Busy 14 1 read-only CHBUSY7 Channel 7 Busy 15 1 read-only CHBUSY8 Channel 8 Busy 24 1 read-only CHBUSY9 Channel 9 Busy 25 1 read-only USRRDY0 Channel 0 User Ready 0 1 read-only USRRDY1 Channel 1 User Ready 1 1 read-only USRRDY10 Channel 10 User Ready 18 1 read-only USRRDY11 Channel 11 User Ready 19 1 read-only USRRDY2 Channel 2 User Ready 2 1 read-only USRRDY3 Channel 3 User Ready 3 1 read-only USRRDY4 Channel 4 User Ready 4 1 read-only USRRDY5 Channel 5 User Ready 5 1 read-only USRRDY6 Channel 6 User Ready 6 1 read-only USRRDY7 Channel 7 User Ready 7 1 read-only USRRDY8 Channel 8 User Ready 16 1 read-only USRRDY9 Channel 9 User Ready 17 1 read-only CTRL Control 0x0 8 write-only n 0x0 0x0 GCLKREQ Generic Clock Requests 4 1 SWRST Software Reset 0 1 write-only INTENCLR Interrupt Enable Clear 0x10 32 read-write n 0x0 0x0 EVD0 Channel 0 Event Detection Interrupt Enable 8 1 EVD1 Channel 1 Event Detection Interrupt Enable 9 1 EVD10 Channel 10 Event Detection Interrupt Enable 26 1 EVD11 Channel 11 Event Detection Interrupt Enable 27 1 EVD2 Channel 2 Event Detection Interrupt Enable 10 1 EVD3 Channel 3 Event Detection Interrupt Enable 11 1 EVD4 Channel 4 Event Detection Interrupt Enable 12 1 EVD5 Channel 5 Event Detection Interrupt Enable 13 1 EVD6 Channel 6 Event Detection Interrupt Enable 14 1 EVD7 Channel 7 Event Detection Interrupt Enable 15 1 EVD8 Channel 8 Event Detection Interrupt Enable 24 1 EVD9 Channel 9 Event Detection Interrupt Enable 25 1 OVR0 Channel 0 Overrun Interrupt Enable 0 1 OVR1 Channel 1 Overrun Interrupt Enable 1 1 OVR10 Channel 10 Overrun Interrupt Enable 18 1 OVR11 Channel 11 Overrun Interrupt Enable 19 1 OVR2 Channel 2 Overrun Interrupt Enable 2 1 OVR3 Channel 3 Overrun Interrupt Enable 3 1 OVR4 Channel 4 Overrun Interrupt Enable 4 1 OVR5 Channel 5 Overrun Interrupt Enable 5 1 OVR6 Channel 6 Overrun Interrupt Enable 6 1 OVR7 Channel 7 Overrun Interrupt Enable 7 1 OVR8 Channel 8 Overrun Interrupt Enable 16 1 OVR9 Channel 9 Overrun Interrupt Enable 17 1 INTENSET Interrupt Enable Set 0x14 32 read-write n 0x0 0x0 EVD0 Channel 0 Event Detection Interrupt Enable 8 1 EVD1 Channel 1 Event Detection Interrupt Enable 9 1 EVD10 Channel 10 Event Detection Interrupt Enable 26 1 EVD11 Channel 11 Event Detection Interrupt Enable 27 1 EVD2 Channel 2 Event Detection Interrupt Enable 10 1 EVD3 Channel 3 Event Detection Interrupt Enable 11 1 EVD4 Channel 4 Event Detection Interrupt Enable 12 1 EVD5 Channel 5 Event Detection Interrupt Enable 13 1 EVD6 Channel 6 Event Detection Interrupt Enable 14 1 EVD7 Channel 7 Event Detection Interrupt Enable 15 1 EVD8 Channel 8 Event Detection Interrupt Enable 24 1 EVD9 Channel 9 Event Detection Interrupt Enable 25 1 OVR0 Channel 0 Overrun Interrupt Enable 0 1 OVR1 Channel 1 Overrun Interrupt Enable 1 1 OVR10 Channel 10 Overrun Interrupt Enable 18 1 OVR11 Channel 11 Overrun Interrupt Enable 19 1 OVR2 Channel 2 Overrun Interrupt Enable 2 1 OVR3 Channel 3 Overrun Interrupt Enable 3 1 OVR4 Channel 4 Overrun Interrupt Enable 4 1 OVR5 Channel 5 Overrun Interrupt Enable 5 1 OVR6 Channel 6 Overrun Interrupt Enable 6 1 OVR7 Channel 7 Overrun Interrupt Enable 7 1 OVR8 Channel 8 Overrun Interrupt Enable 16 1 OVR9 Channel 9 Overrun Interrupt Enable 17 1 INTFLAG Interrupt Flag Status and Clear 0x18 32 read-write n 0x0 0x0 EVD0 Channel 0 Event Detection 8 1 EVD1 Channel 1 Event Detection 9 1 EVD10 Channel 10 Event Detection 26 1 EVD11 Channel 11 Event Detection 27 1 EVD2 Channel 2 Event Detection 10 1 EVD3 Channel 3 Event Detection 11 1 EVD4 Channel 4 Event Detection 12 1 EVD5 Channel 5 Event Detection 13 1 EVD6 Channel 6 Event Detection 14 1 EVD7 Channel 7 Event Detection 15 1 EVD8 Channel 8 Event Detection 24 1 EVD9 Channel 9 Event Detection 25 1 OVR0 Channel 0 Overrun 0 1 OVR1 Channel 1 Overrun 1 1 OVR10 Channel 10 Overrun 18 1 OVR11 Channel 11 Overrun 19 1 OVR2 Channel 2 Overrun 2 1 OVR3 Channel 3 Overrun 3 1 OVR4 Channel 4 Overrun 4 1 OVR5 Channel 5 Overrun 5 1 OVR6 Channel 6 Overrun 6 1 OVR7 Channel 7 Overrun 7 1 OVR8 Channel 8 Overrun 16 1 OVR9 Channel 9 Overrun 17 1 USER User Multiplexer 0x8 16 read-write n 0x0 0x0 CHANNEL Channel Event Selection 8 5 CHANNELSelect 0 No Channel Output Selected 0x0 USER User Multiplexer Selection 0 5 GCLK Generic Clock Generator GCLK 0x0 0x0 0x10 registers n CLKCTRL Generic Clock Control 0x2 16 read-write n 0x0 0x0 CLKEN Clock Enable 14 1 GEN Generic Clock Generator 8 4 GENSelect GCLK0 Generic clock generator 0 0x0 GCLK1 Generic clock generator 1 0x1 GCLK2 Generic clock generator 2 0x2 GCLK3 Generic clock generator 3 0x3 GCLK4 Generic clock generator 4 0x4 GCLK5 Generic clock generator 5 0x5 GCLK6 Generic clock generator 6 0x6 GCLK7 Generic clock generator 7 0x7 GCLK8 Generic clock generator 8 8 ID Generic Clock Selection ID 0 6 IDSelect DFLL48 DFLL48 0x0 FDPLL FDPLL 0x1 EVSYS_9 EVSYS_9 0x10 EVSYS_10 EVSYS_10 0x11 EVSYS_11 EVSYS_11 0x12 SERCOMX_SLOW SERCOMX_SLOW 0x13 SERCOM0_CORE SERCOM0_CORE 0x14 SERCOM1_CORE SERCOM1_CORE 0x15 SERCOM2_CORE SERCOM2_CORE 0x16 SERCOM3_CORE SERCOM3_CORE 0x17 SERCOM4_CORE SERCOM4_CORE 0x18 SERCOM5_CORE SERCOM5_CORE 0x19 TCC0_TCC1 TCC0_TCC1 0x1a TCC2_TC3 TCC2_TC3 0x1b TC4_TC5 TC4_TC5 0x1c TC6_TC7 TC6_TC7 0x1d ADC ADC 0x1e AC_DIG AC_DIG 0x1f FDPLL32K FDPLL32K 0x2 AC_ANA AC_ANA 0x20 DAC DAC 0x21 I2S_0 I2S_0 0x23 I2S_1 I2S_1 0x24 WDT WDT 0x3 RTC RTC 0x4 EIC EIC 0x5 EVSYS_0 EVSYS_0 0x7 EVSYS_1 EVSYS_1 0x8 EVSYS_2 EVSYS_2 0x9 EVSYS_3 EVSYS_3 0xa EVSYS_4 EVSYS_4 0xb EVSYS_5 EVSYS_5 0xc EVSYS_6 EVSYS_6 0xd EVSYS_7 EVSYS_7 0xe EVSYS_8 EVSYS_8 0xf WRTLOCK Write Lock 15 1 CTRL Control 0x0 8 read-write n 0x0 0x0 SWRST Software Reset 0 1 GENCTRL Generic Clock Generator Control 0x4 32 read-write n 0x0 0x0 DIVSEL Divide Selection 20 1 GENEN Generic Clock Generator Enable 16 1 ID Generic Clock Generator Selection 0 4 IDC Improve Duty Cycle 17 1 OE Output Enable 19 1 OOV Output Off Value 18 1 RUNSTDBY Run in Standby 21 1 SRC Source Select 8 5 SRCSelect XOSC XOSC oscillator output 0x0 GCLKIN Generator input pad 0x1 GCLKGEN1 Generic clock generator 1 output 0x2 OSCULP32K OSCULP32K oscillator output 0x3 OSC32K OSC32K oscillator output 0x4 XOSC32K XOSC32K oscillator output 0x5 OSC8M OSC8M oscillator output 0x6 DFLL48M DFLL48M output 0x7 FDPLL FDPLL output 0x8 DPLL96M DPLL96M output 8 GENDIV Generic Clock Generator Division 0x8 32 read-write n 0x0 0x0 DIV Division Factor 8 16 ID Generic Clock Generator Selection 0 4 STATUS Status 0x1 8 read-only n 0x0 0x0 SYNCBUSY Synchronization Busy Status 7 1 read-only HMATRIX HSB Matrix HMATRIXB 0x0 0x0 0x400 registers n HMATRIXB_PRAS0 Priority A for Slave 0x100 32 read-write n 0x0 0x0 HMATRIXB_PRAS1 Priority A for Slave 0x188 32 read-write n 0x0 0x0 HMATRIXB_PRAS10 Priority A for Slave 0x7B8 32 read-write n 0x0 0x0 HMATRIXB_PRAS11 Priority A for Slave 0x890 32 read-write n 0x0 0x0 HMATRIXB_PRAS12 Priority A for Slave 0x970 32 read-write n 0x0 0x0 HMATRIXB_PRAS13 Priority A for Slave 0xA58 32 read-write n 0x0 0x0 HMATRIXB_PRAS14 Priority A for Slave 0xB48 32 read-write n 0x0 0x0 HMATRIXB_PRAS15 Priority A for Slave 0xC40 32 read-write n 0x0 0x0 HMATRIXB_PRAS2 Priority A for Slave 0x218 32 read-write n 0x0 0x0 HMATRIXB_PRAS3 Priority A for Slave 0x2B0 32 read-write n 0x0 0x0 HMATRIXB_PRAS4 Priority A for Slave 0x350 32 read-write n 0x0 0x0 HMATRIXB_PRAS5 Priority A for Slave 0x3F8 32 read-write n 0x0 0x0 HMATRIXB_PRAS6 Priority A for Slave 0x4A8 32 read-write n 0x0 0x0 HMATRIXB_PRAS7 Priority A for Slave 0x560 32 read-write n 0x0 0x0 HMATRIXB_PRAS8 Priority A for Slave 0x620 32 read-write n 0x0 0x0 HMATRIXB_PRAS9 Priority A for Slave 0x6E8 32 read-write n 0x0 0x0 HMATRIXB_PRBS0 Priority B for Slave 0x108 32 read-write n 0x0 0x0 HMATRIXB_PRBS1 Priority B for Slave 0x194 32 read-write n 0x0 0x0 HMATRIXB_PRBS10 Priority B for Slave 0x7E8 32 read-write n 0x0 0x0 HMATRIXB_PRBS11 Priority B for Slave 0x8C4 32 read-write n 0x0 0x0 HMATRIXB_PRBS12 Priority B for Slave 0x9A8 32 read-write n 0x0 0x0 HMATRIXB_PRBS13 Priority B for Slave 0xA94 32 read-write n 0x0 0x0 HMATRIXB_PRBS14 Priority B for Slave 0xB88 32 read-write n 0x0 0x0 HMATRIXB_PRBS15 Priority B for Slave 0xC84 32 read-write n 0x0 0x0 HMATRIXB_PRBS2 Priority B for Slave 0x228 32 read-write n 0x0 0x0 HMATRIXB_PRBS3 Priority B for Slave 0x2C4 32 read-write n 0x0 0x0 HMATRIXB_PRBS4 Priority B for Slave 0x368 32 read-write n 0x0 0x0 HMATRIXB_PRBS5 Priority B for Slave 0x414 32 read-write n 0x0 0x0 HMATRIXB_PRBS6 Priority B for Slave 0x4C8 32 read-write n 0x0 0x0 HMATRIXB_PRBS7 Priority B for Slave 0x584 32 read-write n 0x0 0x0 HMATRIXB_PRBS8 Priority B for Slave 0x648 32 read-write n 0x0 0x0 HMATRIXB_PRBS9 Priority B for Slave 0x714 32 read-write n 0x0 0x0 HMATRIXB_SFR0 Special Function 0x220 32 read-write n 0x0 0x0 SFR Special Function Register 0 32 HMATRIXB_SFR1 Special Function 0x334 32 read-write n 0x0 0x0 SFR Special Function Register 0 32 HMATRIXB_SFR10 Special Function 0xD9C 32 read-write n 0x0 0x0 SFR Special Function Register 0 32 HMATRIXB_SFR11 Special Function 0xED8 32 read-write n 0x0 0x0 SFR Special Function Register 0 32 HMATRIXB_SFR12 Special Function 0x1018 32 read-write n 0x0 0x0 SFR Special Function Register 0 32 HMATRIXB_SFR13 Special Function 0x115C 32 read-write n 0x0 0x0 SFR Special Function Register 0 32 HMATRIXB_SFR14 Special Function 0x12A4 32 read-write n 0x0 0x0 SFR Special Function Register 0 32 HMATRIXB_SFR15 Special Function 0x13F0 32 read-write n 0x0 0x0 SFR Special Function Register 0 32 HMATRIXB_SFR2 Special Function 0x44C 32 read-write n 0x0 0x0 SFR Special Function Register 0 32 HMATRIXB_SFR3 Special Function 0x568 32 read-write n 0x0 0x0 SFR Special Function Register 0 32 HMATRIXB_SFR4 Special Function 0x688 32 read-write n 0x0 0x0 SFR Special Function Register 0 32 HMATRIXB_SFR5 Special Function 0x7AC 32 read-write n 0x0 0x0 SFR Special Function Register 0 32 HMATRIXB_SFR6 Special Function 0x8D4 32 read-write n 0x0 0x0 SFR Special Function Register 0 32 HMATRIXB_SFR7 Special Function 0xA00 32 read-write n 0x0 0x0 SFR Special Function Register 0 32 HMATRIXB_SFR8 Special Function 0xB30 32 read-write n 0x0 0x0 SFR Special Function Register 0 32 HMATRIXB_SFR9 Special Function 0xC64 32 read-write n 0x0 0x0 SFR Special Function Register 0 32 PRAS0 Priority A for Slave 0x80 32 read-write n 0x0 0x0 PRAS1 Priority A for Slave 0x88 32 read-write n 0x0 0x0 PRAS10 Priority A for Slave 0xD0 32 read-write n 0x0 0x0 PRAS11 Priority A for Slave 0xD8 32 read-write n 0x0 0x0 PRAS12 Priority A for Slave 0xE0 32 read-write n 0x0 0x0 PRAS13 Priority A for Slave 0xE8 32 read-write n 0x0 0x0 PRAS14 Priority A for Slave 0xF0 32 read-write n 0x0 0x0 PRAS15 Priority A for Slave 0xF8 32 read-write n 0x0 0x0 PRAS2 Priority A for Slave 0x90 32 read-write n 0x0 0x0 PRAS3 Priority A for Slave 0x98 32 read-write n 0x0 0x0 PRAS4 Priority A for Slave 0xA0 32 read-write n 0x0 0x0 PRAS5 Priority A for Slave 0xA8 32 read-write n 0x0 0x0 PRAS6 Priority A for Slave 0xB0 32 read-write n 0x0 0x0 PRAS7 Priority A for Slave 0xB8 32 read-write n 0x0 0x0 PRAS8 Priority A for Slave 0xC0 32 read-write n 0x0 0x0 PRAS9 Priority A for Slave 0xC8 32 read-write n 0x0 0x0 PRBS0 Priority B for Slave 0x84 32 read-write n 0x0 0x0 PRBS1 Priority B for Slave 0x8C 32 read-write n 0x0 0x0 PRBS10 Priority B for Slave 0xD4 32 read-write n 0x0 0x0 PRBS11 Priority B for Slave 0xDC 32 read-write n 0x0 0x0 PRBS12 Priority B for Slave 0xE4 32 read-write n 0x0 0x0 PRBS13 Priority B for Slave 0xEC 32 read-write n 0x0 0x0 PRBS14 Priority B for Slave 0xF4 32 read-write n 0x0 0x0 PRBS15 Priority B for Slave 0xFC 32 read-write n 0x0 0x0 PRBS2 Priority B for Slave 0x94 32 read-write n 0x0 0x0 PRBS3 Priority B for Slave 0x9C 32 read-write n 0x0 0x0 PRBS4 Priority B for Slave 0xA4 32 read-write n 0x0 0x0 PRBS5 Priority B for Slave 0xAC 32 read-write n 0x0 0x0 PRBS6 Priority B for Slave 0xB4 32 read-write n 0x0 0x0 PRBS7 Priority B for Slave 0xBC 32 read-write n 0x0 0x0 PRBS8 Priority B for Slave 0xC4 32 read-write n 0x0 0x0 PRBS9 Priority B for Slave 0xCC 32 read-write n 0x0 0x0 SFR0 Special Function 0x110 32 read-write n 0x0 0x0 SFR Special Function Register 0 32 SFR1 Special Function 0x114 32 read-write n 0x0 0x0 SFR Special Function Register 0 32 SFR10 Special Function 0x138 32 read-write n 0x0 0x0 SFR Special Function Register 0 32 SFR11 Special Function 0x13C 32 read-write n 0x0 0x0 SFR Special Function Register 0 32 SFR12 Special Function 0x140 32 read-write n 0x0 0x0 SFR Special Function Register 0 32 SFR13 Special Function 0x144 32 read-write n 0x0 0x0 SFR Special Function Register 0 32 SFR14 Special Function 0x148 32 read-write n 0x0 0x0 SFR Special Function Register 0 32 SFR15 Special Function 0x14C 32 read-write n 0x0 0x0 SFR Special Function Register 0 32 SFR2 Special Function 0x118 32 read-write n 0x0 0x0 SFR Special Function Register 0 32 SFR3 Special Function 0x11C 32 read-write n 0x0 0x0 SFR Special Function Register 0 32 SFR4 Special Function 0x120 32 read-write n 0x0 0x0 SFR Special Function Register 0 32 SFR5 Special Function 0x124 32 read-write n 0x0 0x0 SFR Special Function Register 0 32 SFR6 Special Function 0x128 32 read-write n 0x0 0x0 SFR Special Function Register 0 32 SFR7 Special Function 0x12C 32 read-write n 0x0 0x0 SFR Special Function Register 0 32 SFR8 Special Function 0x130 32 read-write n 0x0 0x0 SFR Special Function Register 0 32 SFR9 Special Function 0x134 32 read-write n 0x0 0x0 SFR Special Function Register 0 32 MTB Cortex-M0+ Micro-Trace Buffer MTB 0x0 0x0 0x1000 registers n AUTHSTATUS MTB Authentication Status 0xFB8 32 read-only n 0x0 0x0 BASE MTB Base 0xC 32 read-only n 0x0 0x0 CID0 CoreSight 0xFF0 32 read-only n 0x0 0x0 CID1 CoreSight 0xFF4 32 read-only n 0x0 0x0 CID2 CoreSight 0xFF8 32 read-only n 0x0 0x0 CID3 CoreSight 0xFFC 32 read-only n 0x0 0x0 CLAIMCLR MTB Claim Clear 0xFA4 32 read-write n 0x0 0x0 CLAIMSET MTB Claim Set 0xFA0 32 read-write n 0x0 0x0 DEVARCH MTB Device Architecture 0xFBC 32 read-only n 0x0 0x0 DEVID MTB Device Configuration 0xFC8 32 read-only n 0x0 0x0 DEVTYPE MTB Device Type 0xFCC 32 read-only n 0x0 0x0 FLOW MTB Flow 0x8 32 read-write n 0x0 0x0 AUTOHALT Auto Halt Request 1 1 AUTOSTOP Auto Stop Tracing 0 1 WATERMARK Watermark value 3 29 ITCTRL MTB Integration Mode Control 0xF00 32 read-write n 0x0 0x0 LOCKACCESS MTB Lock Access 0xFB0 32 read-write n 0x0 0x0 LOCKSTATUS MTB Lock Status 0xFB4 32 read-only n 0x0 0x0 MASTER MTB Master 0x4 32 read-write n 0x0 0x0 EN Main Trace Enable 31 1 HALTREQ Halt Request 9 1 MASK Maximum Value of the Trace Buffer in SRAM 0 5 RAMPRIV SRAM Privilege 8 1 SFRWPRIV Special Function Register Write Privilege 7 1 TSTARTEN Trace Start Input Enable 5 1 TSTOPEN Trace Stop Input Enable 6 1 PID0 CoreSight 0xFE0 32 read-only n 0x0 0x0 PID1 CoreSight 0xFE4 32 read-only n 0x0 0x0 PID2 CoreSight 0xFE8 32 read-only n 0x0 0x0 PID3 CoreSight 0xFEC 32 read-only n 0x0 0x0 PID4 CoreSight 0xFD0 32 read-only n 0x0 0x0 PID5 CoreSight 0xFD4 32 read-only n 0x0 0x0 PID6 CoreSight 0xFD8 32 read-only n 0x0 0x0 PID7 CoreSight 0xFDC 32 read-only n 0x0 0x0 POSITION MTB Position 0x0 32 read-write n 0x0 0x0 POINTER Trace Packet Location Pointer 3 29 WRAP Pointer Value Wraps 2 1 NVMCTRL Non-Volatile Memory Controller NVMCTRL 0x0 0x0 0x2C registers n NVMCTRL 5 NVMCTRL_INTREQ 5 ADDR Address 0x1C 32 read-write n 0x0 0x0 ADDR NVM Address 0 22 CTRLA Control A 0x0 16 read-write n 0x0 0x0 CMD Command 0 7 CMDSelect RWWEEER RWW EEPROM area Erase Row - Erases the row addressed by the ADDR register. 0x1a RWWEEWP RWW EEPROM Write Page - Writes the contents of the page buffer to the page addressed by the ADDR register. 0x1c ER Erase Row - Erases the row addressed by the ADDR register. 0x2 WP Write Page - Writes the contents of the page buffer to the page addressed by the ADDR register. 0x4 LR Lock Region - Locks the region containing the address location in the ADDR register. 0x40 UR Unlock Region - Unlocks the region containing the address location in the ADDR register. 0x41 SPRM Sets the power reduction mode. 0x42 CPRM Clears the power reduction mode. 0x43 PBC Page Buffer Clear - Clears the page buffer. 0x44 SSB Set Security Bit - Sets the security bit by writing 0x00 to the first byte in the lockbit row. 0x45 INVALL Invalidate all cache lines. 0x46 EAR Erase Auxiliary Row - Erases the auxiliary row addressed by the ADDR register. This command can be given only when the security bit is not set and only to the user configuration row. 0x5 WAP Write Auxiliary Page - Writes the contents of the page buffer to the page addressed by the ADDR register. This command can be given only when the security bit is not set and only to the user configuration row. 0x6 SF Security Flow Command 0xa WL Write lockbits 0xf CMDEX Command Execution 8 8 CMDEXSelect KEY Execution Key 0xa5 CTRLB Control B 0x4 32 read-write n 0x0 0x0 CACHEDIS Cache Disable 18 1 MANW Manual Write 7 1 READMODE NVMCTRL Read Mode 16 2 READMODESelect NO_MISS_PENALTY The NVM Controller (cache system) does not insert wait states on a cache miss. Gives the best system performance. 0x0 LOW_POWER Reduces power consumption of the cache system, but inserts a wait state each time there is a cache miss. This mode may not be relevant if CPU performance is required, as the application will be stalled and may lead to increase run time. 0x1 DETERMINISTIC The cache system ensures that a cache hit or miss takes the same amount of time, determined by the number of programmed flash wait states. This mode can be used for real-time applications that require deterministic execution timings. 0x2 RWS NVM Read Wait States 1 4 RWSSelect SINGLE Single Auto Wait State 0x0 HALF Half Auto Wait State 0x1 DUAL Dual Auto Wait State 0x2 SLEEPPRM Power Reduction Mode during Sleep 8 2 SLEEPPRMSelect WAKEONACCESS NVM block enters low-power mode when entering sleep.NVM block exits low-power mode upon first access. 0x0 WAKEUPINSTANT NVM block enters low-power mode when entering sleep.NVM block exits low-power mode when exiting sleep. 0x1 DISABLED Auto power reduction disabled. 0x3 INTENCLR Interrupt Enable Clear 0xC 8 read-write n 0x0 0x0 ERROR Error Interrupt Enable 1 1 READY NVM Ready Interrupt Enable 0 1 INTENSET Interrupt Enable Set 0x10 8 read-write n 0x0 0x0 ERROR Error Interrupt Enable 1 1 READY NVM Ready Interrupt Enable 0 1 INTFLAG Interrupt Flag Status and Clear 0x14 8 read-write n 0x0 0x0 ERROR Error 1 1 READY NVM Ready 0 1 LOCK Lock Section 0x20 16 read-write n 0x0 0x0 LOCK Region Lock Bits 0 16 read-only PARAM NVM Parameter 0x8 32 read-write n 0x0 0x0 NVMP NVM Pages 0 16 read-only PSZ Page Size 16 3 read-only PSZSelect 8 8 bytes 0x0 16 16 bytes 0x1 32 32 bytes 0x2 64 64 bytes 0x3 128 128 bytes 0x4 256 256 bytes 0x5 512 512 bytes 0x6 1024 1024 bytes 0x7 RWWEEP RWW EEPROM Pages 20 12 read-only STATUS Status 0x18 16 read-write n 0x0 0x0 LOAD NVM Page Buffer Active Loading 1 1 LOCKE Lock Error Status 3 1 NVME NVM Error 4 1 PRM Power Reduction Mode 0 1 read-only PROGE Programming Error Status 2 1 SB Security Bit Status 8 1 read-only PAC0 Peripheral Access Controller 0 PAC 0x0 0x0 0x8 registers n PAC_WPCLR Write Protection Clear 0x0 32 read-write n 0x0 0x0 WP Write Protection Clear 1 31 PAC_WPSET Write Protection Set 0x4 32 read-write n 0x0 0x0 WP Write Protection Set 1 31 WPCLR Write Protection Clear 0x0 32 read-write n 0x0 0x0 WP Write Protection Clear 1 31 WPSET Write Protection Set 0x4 32 read-write n 0x0 0x0 WP Write Protection Set 1 31 PAC1 Peripheral Access Controller 1 PAC 0x0 0x0 0x8 registers n PAC_WPCLR Write Protection Clear 0x0 32 read-write n 0x0 0x0 WP Write Protection Clear 1 31 PAC_WPSET Write Protection Set 0x4 32 read-write n 0x0 0x0 WP Write Protection Set 1 31 WPCLR Write Protection Clear 0x0 32 read-write n 0x0 0x0 WP Write Protection Clear 1 31 WPSET Write Protection Set 0x4 32 read-write n 0x0 0x0 WP Write Protection Set 1 31 PAC2 Peripheral Access Controller 2 PAC 0x0 0x0 0x8 registers n PAC_WPCLR Write Protection Clear 0x0 32 read-write n 0x0 0x0 WP Write Protection Clear 1 31 PAC_WPSET Write Protection Set 0x4 32 read-write n 0x0 0x0 WP Write Protection Set 1 31 WPCLR Write Protection Clear 0x0 32 read-write n 0x0 0x0 WP Write Protection Clear 1 31 WPSET Write Protection Set 0x4 32 read-write n 0x0 0x0 WP Write Protection Set 1 31 PM Power Manager PM 0x0 0x0 0x2C registers n PM 0 PM_INTREQ 0 AHBMASK AHB Mask 0x14 32 read-write n 0x0 0x0 DMAC_ DMAC AHB Clock Mask 5 1 DSU_ DSU AHB Clock Mask 3 1 HPB0_ HPB0 AHB Clock Mask 0 1 HPB1_ HPB1 AHB Clock Mask 1 1 HPB2_ HPB2 AHB Clock Mask 2 1 NVMCTRL_ NVMCTRL AHB Clock Mask 4 1 APBAMASK APBA Mask 0x18 32 read-write n 0x0 0x0 EIC_ EIC APB Clock Enable 6 1 GCLK_ GCLK APB Clock Enable 3 1 PAC0_ PAC0 APB Clock Enable 0 1 PM_ PM APB Clock Enable 1 1 RTC_ RTC APB Clock Enable 5 1 SYSCTRL_ SYSCTRL APB Clock Enable 2 1 WDT_ WDT APB Clock Enable 4 1 APBASEL APBA Clock Select 0x9 8 read-write n 0x0 0x0 APBADIV APBA Prescaler Selection 0 3 APBADIVSelect DIV1 Divide by 1 0x0 DIV2 Divide by 2 0x1 DIV4 Divide by 4 0x2 DIV8 Divide by 8 0x3 DIV16 Divide by 16 0x4 DIV32 Divide by 32 0x5 DIV64 Divide by 64 0x6 DIV128 Divide by 128 0x7 APBBMASK APBB Mask 0x1C 32 read-write n 0x0 0x0 DMAC_ DMAC APB Clock Enable 4 1 DSU_ DSU APB Clock Enable 1 1 HMATRIX_ HMATRIX APB Clock Enable 6 1 NVMCTRL_ NVMCTRL APB Clock Enable 2 1 PAC1_ PAC1 APB Clock Enable 0 1 PORT_ PORT APB Clock Enable 3 1 APBBSEL APBB Clock Select 0xA 8 read-write n 0x0 0x0 APBBDIV APBB Prescaler Selection 0 3 APBBDIVSelect DIV1 Divide by 1 0x0 DIV2 Divide by 2 0x1 DIV4 Divide by 4 0x2 DIV8 Divide by 8 0x3 DIV16 Divide by 16 0x4 DIV32 Divide by 32 0x5 DIV64 Divide by 64 0x6 DIV128 Divide by 128 0x7 APBCMASK APBC Mask 0x20 32 read-write n 0x0 0x0 AC1_ AC1 APB Clock Enable 21 1 AC_ AC APB Clock Enable 17 1 ADC_ ADC APB Clock Enable 16 1 DAC_ DAC APB Clock Enable 18 1 EVSYS_ EVSYS APB Clock Enable 1 1 PAC2_ PAC2 APB Clock Enable 0 1 PTC_ PTC APB Clock Enable 19 1 SERCOM0_ SERCOM0 APB Clock Enable 2 1 SERCOM1_ SERCOM1 APB Clock Enable 3 1 SERCOM2_ SERCOM2 APB Clock Enable 4 1 SERCOM3_ SERCOM3 APB Clock Enable 5 1 TC3_ TC3 APB Clock Enable 11 1 TC4_ TC4 APB Clock Enable 12 1 TC5_ TC5 APB Clock Enable 13 1 TCC0_ TCC0 APB Clock Enable 8 1 TCC1_ TCC1 APB Clock Enable 9 1 TCC2_ TCC2 APB Clock Enable 10 1 APBCSEL APBC Clock Select 0xB 8 read-write n 0x0 0x0 APBCDIV APBC Prescaler Selection 0 3 APBCDIVSelect DIV1 Divide by 1 0x0 DIV2 Divide by 2 0x1 DIV4 Divide by 4 0x2 DIV8 Divide by 8 0x3 DIV16 Divide by 16 0x4 DIV32 Divide by 32 0x5 DIV64 Divide by 64 0x6 DIV128 Divide by 128 0x7 CPUSEL CPU Clock Select 0x8 8 read-write n 0x0 0x0 CPUDIV CPU Prescaler Selection 0 3 CPUDIVSelect DIV1 Divide by 1 0x0 DIV2 Divide by 2 0x1 DIV4 Divide by 4 0x2 DIV8 Divide by 8 0x3 DIV16 Divide by 16 0x4 DIV32 Divide by 32 0x5 DIV64 Divide by 64 0x6 DIV128 Divide by 128 0x7 CTRL Control 0x0 8 read-write n 0x0 0x0 EXTCTRL External Reset Controller 0x2 8 read-write n 0x0 0x0 SETDIS External Reset Disable 0 1 INTENCLR Interrupt Enable Clear 0x34 8 read-write n 0x0 0x0 CKRDY Clock Ready Interrupt Enable 0 1 INTENSET Interrupt Enable Set 0x35 8 read-write n 0x0 0x0 CKRDY Clock Ready Interrupt Enable 0 1 INTFLAG Interrupt Flag Status and Clear 0x36 8 read-write n 0x0 0x0 CKRDY Clock Ready 0 1 RCAUSE Reset Cause 0x38 8 read-only n 0x0 0x0 BOD12 Brown Out 12 Detector Reset 1 1 BOD33 Brown Out 33 Detector Reset 2 1 EXT External Reset 4 1 POR Power On Reset 0 1 SYST System Reset Request 6 1 WDT Watchdog Reset 5 1 SLEEP Sleep Mode 0x1 8 read-write n 0x0 0x0 IDLE Idle Mode Configuration 0 2 IDLESelect CPU The CPU clock domain is stopped 0x0 AHB The CPU and AHB clock domains are stopped 0x1 APB The CPU, AHB and APB clock domains are stopped 0x2 PORT Port Module PORT 0x0 0x0 0x200 registers n CTRL0 Control 0x48 32 read-write n 0x0 0x0 SAMPLING Input Sampling Mode 0 32 write-only CTRL1 Control 0xEC 32 read-write n 0x0 0x0 SAMPLING Input Sampling Mode 0 32 write-only DIR0 Data Direction 0x0 32 read-write n 0x0 0x0 DIR Port Data Direction 0 32 DIR1 Data Direction 0x80 32 read-write n 0x0 0x0 DIR Port Data Direction 0 32 DIRCLR0 Data Direction Clear 0x8 32 read-write n 0x0 0x0 DIRCLR Port Data Direction Clear 0 32 DIRCLR1 Data Direction Clear 0x8C 32 read-write n 0x0 0x0 DIRCLR Port Data Direction Clear 0 32 DIRSET0 Data Direction Set 0x10 32 read-write n 0x0 0x0 DIRSET Port Data Direction Set 0 32 DIRSET1 Data Direction Set 0x98 32 read-write n 0x0 0x0 DIRSET Port Data Direction Set 0 32 DIRTGL0 Data Direction Toggle 0x18 32 read-write n 0x0 0x0 DIRTGL Port Data Direction Toggle 0 32 DIRTGL1 Data Direction Toggle 0xA4 32 read-write n 0x0 0x0 DIRTGL Port Data Direction Toggle 0 32 IN0 Data Input Value 0x40 32 read-only n 0x0 0x0 IN Port Data Input Value 0 32 IN1 Data Input Value 0xE0 32 read-only n 0x0 0x0 IN Port Data Input Value 0 32 OUT0 Data Output Value 0x20 32 read-write n 0x0 0x0 OUT Port Data Output Value 0 32 OUT1 Data Output Value 0xB0 32 read-write n 0x0 0x0 OUT Port Data Output Value 0 32 OUTCLR0 Data Output Value Clear 0x28 32 read-write n 0x0 0x0 OUTCLR Port Data Output Value Clear 0 32 OUTCLR1 Data Output Value Clear 0xBC 32 read-write n 0x0 0x0 OUTCLR Port Data Output Value Clear 0 32 OUTSET0 Data Output Value Set 0x30 32 read-write n 0x0 0x0 OUTSET Port Data Output Value Set 0 32 OUTSET1 Data Output Value Set 0xC8 32 read-write n 0x0 0x0 OUTSET Port Data Output Value Set 0 32 OUTTGL0 Data Output Value Toggle 0x38 32 read-write n 0x0 0x0 OUTTGL Port Data Output Value Toggle 0 32 OUTTGL1 Data Output Value Toggle 0xD4 32 read-write n 0x0 0x0 OUTTGL Port Data Output Value Toggle 0 32 PINCFG0_0 Pin Configuration n - Group 0 0x80 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_1 Pin Configuration n - Group 0 0xC1 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_10 Pin Configuration n - Group 0 0x337 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_11 Pin Configuration n - Group 0 0x382 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_12 Pin Configuration n - Group 0 0x3CE 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_13 Pin Configuration n - Group 0 0x41B 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_14 Pin Configuration n - Group 0 0x469 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_15 Pin Configuration n - Group 0 0x4B8 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_16 Pin Configuration n - Group 0 0x508 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_17 Pin Configuration n - Group 0 0x559 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_18 Pin Configuration n - Group 0 0x5AB 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_19 Pin Configuration n - Group 0 0x5FE 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_2 Pin Configuration n - Group 0 0x103 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_20 Pin Configuration n - Group 0 0x652 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_21 Pin Configuration n - Group 0 0x6A7 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_22 Pin Configuration n - Group 0 0x6FD 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_23 Pin Configuration n - Group 0 0x754 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_24 Pin Configuration n - Group 0 0x7AC 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_25 Pin Configuration n - Group 0 0x805 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_26 Pin Configuration n - Group 0 0x85F 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_27 Pin Configuration n - Group 0 0x8BA 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_28 Pin Configuration n - Group 0 0x916 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_29 Pin Configuration n - Group 0 0x973 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_3 Pin Configuration n - Group 0 0x146 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_30 Pin Configuration n - Group 0 0x9D1 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_31 Pin Configuration n - Group 0 0xA30 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_4 Pin Configuration n - Group 0 0x18A 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_5 Pin Configuration n - Group 0 0x1CF 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_6 Pin Configuration n - Group 0 0x215 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_7 Pin Configuration n - Group 0 0x25C 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_8 Pin Configuration n - Group 0 0x2A4 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_9 Pin Configuration n - Group 0 0x2ED 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG1_0 Pin Configuration n - Group 1 0x180 read-write n 0x0 0x0 PINCFG1_1 Pin Configuration n - Group 1 0x241 read-write n 0x0 0x0 PINCFG1_10 Pin Configuration n - Group 1 0x937 read-write n 0x0 0x0 PINCFG1_11 Pin Configuration n - Group 1 0xA02 read-write n 0x0 0x0 PINCFG1_12 Pin Configuration n - Group 1 0xACE read-write n 0x0 0x0 PINCFG1_13 Pin Configuration n - Group 1 0xB9B read-write n 0x0 0x0 PINCFG1_14 Pin Configuration n - Group 1 0xC69 read-write n 0x0 0x0 PINCFG1_15 Pin Configuration n - Group 1 0xD38 read-write n 0x0 0x0 PINCFG1_16 Pin Configuration n - Group 1 0xE08 read-write n 0x0 0x0 PINCFG1_17 Pin Configuration n - Group 1 0xED9 read-write n 0x0 0x0 PINCFG1_18 Pin Configuration n - Group 1 0xFAB read-write n 0x0 0x0 PINCFG1_19 Pin Configuration n - Group 1 0x107E read-write n 0x0 0x0 PINCFG1_2 Pin Configuration n - Group 1 0x303 read-write n 0x0 0x0 PINCFG1_20 Pin Configuration n - Group 1 0x1152 read-write n 0x0 0x0 PINCFG1_21 Pin Configuration n - Group 1 0x1227 read-write n 0x0 0x0 PINCFG1_22 Pin Configuration n - Group 1 0x12FD read-write n 0x0 0x0 PINCFG1_23 Pin Configuration n - Group 1 0x13D4 read-write n 0x0 0x0 PINCFG1_24 Pin Configuration n - Group 1 0x14AC read-write n 0x0 0x0 PINCFG1_25 Pin Configuration n - Group 1 0x1585 read-write n 0x0 0x0 PINCFG1_26 Pin Configuration n - Group 1 0x165F read-write n 0x0 0x0 PINCFG1_27 Pin Configuration n - Group 1 0x173A read-write n 0x0 0x0 PINCFG1_28 Pin Configuration n - Group 1 0x1816 read-write n 0x0 0x0 PINCFG1_29 Pin Configuration n - Group 1 0x18F3 read-write n 0x0 0x0 PINCFG1_3 Pin Configuration n - Group 1 0x3C6 read-write n 0x0 0x0 PINCFG1_30 Pin Configuration n - Group 1 0x19D1 read-write n 0x0 0x0 PINCFG1_31 Pin Configuration n - Group 1 0x1AB0 read-write n 0x0 0x0 PINCFG1_4 Pin Configuration n - Group 1 0x48A read-write n 0x0 0x0 PINCFG1_5 Pin Configuration n - Group 1 0x54F read-write n 0x0 0x0 PINCFG1_6 Pin Configuration n - Group 1 0x615 read-write n 0x0 0x0 PINCFG1_7 Pin Configuration n - Group 1 0x6DC read-write n 0x0 0x0 PINCFG1_8 Pin Configuration n - Group 1 0x7A4 read-write n 0x0 0x0 PINCFG1_9 Pin Configuration n - Group 1 0x86D read-write n 0x0 0x0 PMUX0_0 Peripheral Multiplexing n - Group 0 0x60 8 read-write n 0x0 0x0 PMUXE Peripheral Multiplexing Even 0 4 PMUXESelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUXO Peripheral Multiplexing Odd 4 4 PMUXOSelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUX0_1 Peripheral Multiplexing n - Group 0 0x91 8 read-write n 0x0 0x0 PMUXE Peripheral Multiplexing Even 0 4 PMUXESelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUXO Peripheral Multiplexing Odd 4 4 PMUXOSelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUX0_10 Peripheral Multiplexing n - Group 0 0x277 8 read-write n 0x0 0x0 PMUXE Peripheral Multiplexing Even 0 4 PMUXESelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUXO Peripheral Multiplexing Odd 4 4 PMUXOSelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUX0_11 Peripheral Multiplexing n - Group 0 0x2B2 8 read-write n 0x0 0x0 PMUXE Peripheral Multiplexing Even 0 4 PMUXESelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUXO Peripheral Multiplexing Odd 4 4 PMUXOSelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUX0_12 Peripheral Multiplexing n - Group 0 0x2EE 8 read-write n 0x0 0x0 PMUXE Peripheral Multiplexing Even 0 4 PMUXESelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUXO Peripheral Multiplexing Odd 4 4 PMUXOSelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUX0_13 Peripheral Multiplexing n - Group 0 0x32B 8 read-write n 0x0 0x0 PMUXE Peripheral Multiplexing Even 0 4 PMUXESelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUXO Peripheral Multiplexing Odd 4 4 PMUXOSelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUX0_14 Peripheral Multiplexing n - Group 0 0x369 8 read-write n 0x0 0x0 PMUXE Peripheral Multiplexing Even 0 4 PMUXESelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUXO Peripheral Multiplexing Odd 4 4 PMUXOSelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUX0_15 Peripheral Multiplexing n - Group 0 0x3A8 8 read-write n 0x0 0x0 PMUXE Peripheral Multiplexing Even 0 4 PMUXESelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUXO Peripheral Multiplexing Odd 4 4 PMUXOSelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUX0_2 Peripheral Multiplexing n - Group 0 0xC3 8 read-write n 0x0 0x0 PMUXE Peripheral Multiplexing Even 0 4 PMUXESelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUXO Peripheral Multiplexing Odd 4 4 PMUXOSelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUX0_3 Peripheral Multiplexing n - Group 0 0xF6 8 read-write n 0x0 0x0 PMUXE Peripheral Multiplexing Even 0 4 PMUXESelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUXO Peripheral Multiplexing Odd 4 4 PMUXOSelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUX0_4 Peripheral Multiplexing n - Group 0 0x12A 8 read-write n 0x0 0x0 PMUXE Peripheral Multiplexing Even 0 4 PMUXESelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUXO Peripheral Multiplexing Odd 4 4 PMUXOSelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUX0_5 Peripheral Multiplexing n - Group 0 0x15F 8 read-write n 0x0 0x0 PMUXE Peripheral Multiplexing Even 0 4 PMUXESelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUXO Peripheral Multiplexing Odd 4 4 PMUXOSelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUX0_6 Peripheral Multiplexing n - Group 0 0x195 8 read-write n 0x0 0x0 PMUXE Peripheral Multiplexing Even 0 4 PMUXESelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUXO Peripheral Multiplexing Odd 4 4 PMUXOSelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUX0_7 Peripheral Multiplexing n - Group 0 0x1CC 8 read-write n 0x0 0x0 PMUXE Peripheral Multiplexing Even 0 4 PMUXESelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUXO Peripheral Multiplexing Odd 4 4 PMUXOSelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUX0_8 Peripheral Multiplexing n - Group 0 0x204 8 read-write n 0x0 0x0 PMUXE Peripheral Multiplexing Even 0 4 PMUXESelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUXO Peripheral Multiplexing Odd 4 4 PMUXOSelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUX0_9 Peripheral Multiplexing n - Group 0 0x23D 8 read-write n 0x0 0x0 PMUXE Peripheral Multiplexing Even 0 4 PMUXESelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUXO Peripheral Multiplexing Odd 4 4 PMUXOSelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUX1_0 Peripheral Multiplexing n - Group 1 0x160 read-write n 0x0 0x0 PMUX1_1 Peripheral Multiplexing n - Group 1 0x211 read-write n 0x0 0x0 PMUX1_10 Peripheral Multiplexing n - Group 1 0x877 read-write n 0x0 0x0 PMUX1_11 Peripheral Multiplexing n - Group 1 0x932 read-write n 0x0 0x0 PMUX1_12 Peripheral Multiplexing n - Group 1 0x9EE read-write n 0x0 0x0 PMUX1_13 Peripheral Multiplexing n - Group 1 0xAAB read-write n 0x0 0x0 PMUX1_14 Peripheral Multiplexing n - Group 1 0xB69 read-write n 0x0 0x0 PMUX1_15 Peripheral Multiplexing n - Group 1 0xC28 read-write n 0x0 0x0 PMUX1_2 Peripheral Multiplexing n - Group 1 0x2C3 read-write n 0x0 0x0 PMUX1_3 Peripheral Multiplexing n - Group 1 0x376 read-write n 0x0 0x0 PMUX1_4 Peripheral Multiplexing n - Group 1 0x42A read-write n 0x0 0x0 PMUX1_5 Peripheral Multiplexing n - Group 1 0x4DF read-write n 0x0 0x0 PMUX1_6 Peripheral Multiplexing n - Group 1 0x595 read-write n 0x0 0x0 PMUX1_7 Peripheral Multiplexing n - Group 1 0x64C read-write n 0x0 0x0 PMUX1_8 Peripheral Multiplexing n - Group 1 0x704 read-write n 0x0 0x0 PMUX1_9 Peripheral Multiplexing n - Group 1 0x7BD read-write n 0x0 0x0 WRCONFIG0 Write Configuration 0x50 32 write-only n 0x0 0x0 DRVSTR Output Driver Strength Selection 22 1 HWSEL Half-Word Select 31 1 INEN Input Enable 17 1 PINMASK Pin Mask for Multiple Pin Configuration 0 16 PMUX Peripheral Multiplexing 24 4 PMUXEN Peripheral Multiplexer Enable 16 1 PULLEN Pull Enable 18 1 WRPINCFG Write PINCFG 30 1 WRPMUX Write PMUX 28 1 WRCONFIG1 Write Configuration 0xF8 32 write-only n 0x0 0x0 DRVSTR Output Driver Strength Selection 22 1 HWSEL Half-Word Select 31 1 INEN Input Enable 17 1 PINMASK Pin Mask for Multiple Pin Configuration 0 16 PMUX Peripheral Multiplexing 24 4 PMUXEN Peripheral Multiplexer Enable 16 1 PULLEN Pull Enable 18 1 WRPINCFG Write PINCFG 30 1 WRPMUX Write PMUX 28 1 PORT_IOBUS Port Module (IOBUS) PORT 0x0 0x0 0x200 registers n CTRL0 Control 0x48 32 read-write n 0x0 0x0 SAMPLING Input Sampling Mode 0 32 write-only CTRL1 Control 0xEC 32 read-write n 0x0 0x0 SAMPLING Input Sampling Mode 0 32 write-only DIR0 Data Direction 0x0 32 read-write n 0x0 0x0 DIR Port Data Direction 0 32 DIR1 Data Direction 0x80 32 read-write n 0x0 0x0 DIR Port Data Direction 0 32 DIRCLR0 Data Direction Clear 0x8 32 read-write n 0x0 0x0 DIRCLR Port Data Direction Clear 0 32 DIRCLR1 Data Direction Clear 0x8C 32 read-write n 0x0 0x0 DIRCLR Port Data Direction Clear 0 32 DIRSET0 Data Direction Set 0x10 32 read-write n 0x0 0x0 DIRSET Port Data Direction Set 0 32 DIRSET1 Data Direction Set 0x98 32 read-write n 0x0 0x0 DIRSET Port Data Direction Set 0 32 DIRTGL0 Data Direction Toggle 0x18 32 read-write n 0x0 0x0 DIRTGL Port Data Direction Toggle 0 32 DIRTGL1 Data Direction Toggle 0xA4 32 read-write n 0x0 0x0 DIRTGL Port Data Direction Toggle 0 32 IN0 Data Input Value 0x40 32 read-only n 0x0 0x0 IN Port Data Input Value 0 32 IN1 Data Input Value 0xE0 32 read-only n 0x0 0x0 IN Port Data Input Value 0 32 OUT0 Data Output Value 0x20 32 read-write n 0x0 0x0 OUT Port Data Output Value 0 32 OUT1 Data Output Value 0xB0 32 read-write n 0x0 0x0 OUT Port Data Output Value 0 32 OUTCLR0 Data Output Value Clear 0x28 32 read-write n 0x0 0x0 OUTCLR Port Data Output Value Clear 0 32 OUTCLR1 Data Output Value Clear 0xBC 32 read-write n 0x0 0x0 OUTCLR Port Data Output Value Clear 0 32 OUTSET0 Data Output Value Set 0x30 32 read-write n 0x0 0x0 OUTSET Port Data Output Value Set 0 32 OUTSET1 Data Output Value Set 0xC8 32 read-write n 0x0 0x0 OUTSET Port Data Output Value Set 0 32 OUTTGL0 Data Output Value Toggle 0x38 32 read-write n 0x0 0x0 OUTTGL Port Data Output Value Toggle 0 32 OUTTGL1 Data Output Value Toggle 0xD4 32 read-write n 0x0 0x0 OUTTGL Port Data Output Value Toggle 0 32 PINCFG0_0 Pin Configuration n - Group 0 0x80 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_1 Pin Configuration n - Group 0 0xC1 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_10 Pin Configuration n - Group 0 0x337 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_11 Pin Configuration n - Group 0 0x382 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_12 Pin Configuration n - Group 0 0x3CE 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_13 Pin Configuration n - Group 0 0x41B 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_14 Pin Configuration n - Group 0 0x469 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_15 Pin Configuration n - Group 0 0x4B8 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_16 Pin Configuration n - Group 0 0x508 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_17 Pin Configuration n - Group 0 0x559 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_18 Pin Configuration n - Group 0 0x5AB 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_19 Pin Configuration n - Group 0 0x5FE 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_2 Pin Configuration n - Group 0 0x103 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_20 Pin Configuration n - Group 0 0x652 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_21 Pin Configuration n - Group 0 0x6A7 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_22 Pin Configuration n - Group 0 0x6FD 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_23 Pin Configuration n - Group 0 0x754 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_24 Pin Configuration n - Group 0 0x7AC 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_25 Pin Configuration n - Group 0 0x805 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_26 Pin Configuration n - Group 0 0x85F 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_27 Pin Configuration n - Group 0 0x8BA 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_28 Pin Configuration n - Group 0 0x916 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_29 Pin Configuration n - Group 0 0x973 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_3 Pin Configuration n - Group 0 0x146 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_30 Pin Configuration n - Group 0 0x9D1 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_31 Pin Configuration n - Group 0 0xA30 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_4 Pin Configuration n - Group 0 0x18A 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_5 Pin Configuration n - Group 0 0x1CF 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_6 Pin Configuration n - Group 0 0x215 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_7 Pin Configuration n - Group 0 0x25C 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_8 Pin Configuration n - Group 0 0x2A4 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG0_9 Pin Configuration n - Group 0 0x2ED 8 read-write n 0x0 0x0 DRVSTR Output Driver Strength Selection 6 1 write-only INEN Input Enable 1 1 PMUXEN Peripheral Multiplexer Enable 0 1 PULLEN Pull Enable 2 1 PINCFG1_0 Pin Configuration n - Group 1 0x180 read-write n 0x0 0x0 PINCFG1_1 Pin Configuration n - Group 1 0x241 read-write n 0x0 0x0 PINCFG1_10 Pin Configuration n - Group 1 0x937 read-write n 0x0 0x0 PINCFG1_11 Pin Configuration n - Group 1 0xA02 read-write n 0x0 0x0 PINCFG1_12 Pin Configuration n - Group 1 0xACE read-write n 0x0 0x0 PINCFG1_13 Pin Configuration n - Group 1 0xB9B read-write n 0x0 0x0 PINCFG1_14 Pin Configuration n - Group 1 0xC69 read-write n 0x0 0x0 PINCFG1_15 Pin Configuration n - Group 1 0xD38 read-write n 0x0 0x0 PINCFG1_16 Pin Configuration n - Group 1 0xE08 read-write n 0x0 0x0 PINCFG1_17 Pin Configuration n - Group 1 0xED9 read-write n 0x0 0x0 PINCFG1_18 Pin Configuration n - Group 1 0xFAB read-write n 0x0 0x0 PINCFG1_19 Pin Configuration n - Group 1 0x107E read-write n 0x0 0x0 PINCFG1_2 Pin Configuration n - Group 1 0x303 read-write n 0x0 0x0 PINCFG1_20 Pin Configuration n - Group 1 0x1152 read-write n 0x0 0x0 PINCFG1_21 Pin Configuration n - Group 1 0x1227 read-write n 0x0 0x0 PINCFG1_22 Pin Configuration n - Group 1 0x12FD read-write n 0x0 0x0 PINCFG1_23 Pin Configuration n - Group 1 0x13D4 read-write n 0x0 0x0 PINCFG1_24 Pin Configuration n - Group 1 0x14AC read-write n 0x0 0x0 PINCFG1_25 Pin Configuration n - Group 1 0x1585 read-write n 0x0 0x0 PINCFG1_26 Pin Configuration n - Group 1 0x165F read-write n 0x0 0x0 PINCFG1_27 Pin Configuration n - Group 1 0x173A read-write n 0x0 0x0 PINCFG1_28 Pin Configuration n - Group 1 0x1816 read-write n 0x0 0x0 PINCFG1_29 Pin Configuration n - Group 1 0x18F3 read-write n 0x0 0x0 PINCFG1_3 Pin Configuration n - Group 1 0x3C6 read-write n 0x0 0x0 PINCFG1_30 Pin Configuration n - Group 1 0x19D1 read-write n 0x0 0x0 PINCFG1_31 Pin Configuration n - Group 1 0x1AB0 read-write n 0x0 0x0 PINCFG1_4 Pin Configuration n - Group 1 0x48A read-write n 0x0 0x0 PINCFG1_5 Pin Configuration n - Group 1 0x54F read-write n 0x0 0x0 PINCFG1_6 Pin Configuration n - Group 1 0x615 read-write n 0x0 0x0 PINCFG1_7 Pin Configuration n - Group 1 0x6DC read-write n 0x0 0x0 PINCFG1_8 Pin Configuration n - Group 1 0x7A4 read-write n 0x0 0x0 PINCFG1_9 Pin Configuration n - Group 1 0x86D read-write n 0x0 0x0 PMUX0_0 Peripheral Multiplexing n - Group 0 0x60 8 read-write n 0x0 0x0 PMUXE Peripheral Multiplexing Even 0 4 PMUXESelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUXO Peripheral Multiplexing Odd 4 4 PMUXOSelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUX0_1 Peripheral Multiplexing n - Group 0 0x91 8 read-write n 0x0 0x0 PMUXE Peripheral Multiplexing Even 0 4 PMUXESelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUXO Peripheral Multiplexing Odd 4 4 PMUXOSelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUX0_10 Peripheral Multiplexing n - Group 0 0x277 8 read-write n 0x0 0x0 PMUXE Peripheral Multiplexing Even 0 4 PMUXESelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUXO Peripheral Multiplexing Odd 4 4 PMUXOSelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUX0_11 Peripheral Multiplexing n - Group 0 0x2B2 8 read-write n 0x0 0x0 PMUXE Peripheral Multiplexing Even 0 4 PMUXESelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUXO Peripheral Multiplexing Odd 4 4 PMUXOSelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUX0_12 Peripheral Multiplexing n - Group 0 0x2EE 8 read-write n 0x0 0x0 PMUXE Peripheral Multiplexing Even 0 4 PMUXESelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUXO Peripheral Multiplexing Odd 4 4 PMUXOSelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUX0_13 Peripheral Multiplexing n - Group 0 0x32B 8 read-write n 0x0 0x0 PMUXE Peripheral Multiplexing Even 0 4 PMUXESelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUXO Peripheral Multiplexing Odd 4 4 PMUXOSelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUX0_14 Peripheral Multiplexing n - Group 0 0x369 8 read-write n 0x0 0x0 PMUXE Peripheral Multiplexing Even 0 4 PMUXESelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUXO Peripheral Multiplexing Odd 4 4 PMUXOSelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUX0_15 Peripheral Multiplexing n - Group 0 0x3A8 8 read-write n 0x0 0x0 PMUXE Peripheral Multiplexing Even 0 4 PMUXESelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUXO Peripheral Multiplexing Odd 4 4 PMUXOSelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUX0_2 Peripheral Multiplexing n - Group 0 0xC3 8 read-write n 0x0 0x0 PMUXE Peripheral Multiplexing Even 0 4 PMUXESelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUXO Peripheral Multiplexing Odd 4 4 PMUXOSelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUX0_3 Peripheral Multiplexing n - Group 0 0xF6 8 read-write n 0x0 0x0 PMUXE Peripheral Multiplexing Even 0 4 PMUXESelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUXO Peripheral Multiplexing Odd 4 4 PMUXOSelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUX0_4 Peripheral Multiplexing n - Group 0 0x12A 8 read-write n 0x0 0x0 PMUXE Peripheral Multiplexing Even 0 4 PMUXESelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUXO Peripheral Multiplexing Odd 4 4 PMUXOSelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUX0_5 Peripheral Multiplexing n - Group 0 0x15F 8 read-write n 0x0 0x0 PMUXE Peripheral Multiplexing Even 0 4 PMUXESelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUXO Peripheral Multiplexing Odd 4 4 PMUXOSelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUX0_6 Peripheral Multiplexing n - Group 0 0x195 8 read-write n 0x0 0x0 PMUXE Peripheral Multiplexing Even 0 4 PMUXESelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUXO Peripheral Multiplexing Odd 4 4 PMUXOSelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUX0_7 Peripheral Multiplexing n - Group 0 0x1CC 8 read-write n 0x0 0x0 PMUXE Peripheral Multiplexing Even 0 4 PMUXESelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUXO Peripheral Multiplexing Odd 4 4 PMUXOSelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUX0_8 Peripheral Multiplexing n - Group 0 0x204 8 read-write n 0x0 0x0 PMUXE Peripheral Multiplexing Even 0 4 PMUXESelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUXO Peripheral Multiplexing Odd 4 4 PMUXOSelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUX0_9 Peripheral Multiplexing n - Group 0 0x23D 8 read-write n 0x0 0x0 PMUXE Peripheral Multiplexing Even 0 4 PMUXESelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUXO Peripheral Multiplexing Odd 4 4 PMUXOSelect A Peripheral function A selected 0x0 B Peripheral function B selected 0x1 C Peripheral function C selected 0x2 D Peripheral function D selected 0x3 E Peripheral function E selected 0x4 F Peripheral function F selected 0x5 G Peripheral function G selected 0x6 H Peripheral function H selected 0x7 PMUX1_0 Peripheral Multiplexing n - Group 1 0x160 read-write n 0x0 0x0 PMUX1_1 Peripheral Multiplexing n - Group 1 0x211 read-write n 0x0 0x0 PMUX1_10 Peripheral Multiplexing n - Group 1 0x877 read-write n 0x0 0x0 PMUX1_11 Peripheral Multiplexing n - Group 1 0x932 read-write n 0x0 0x0 PMUX1_12 Peripheral Multiplexing n - Group 1 0x9EE read-write n 0x0 0x0 PMUX1_13 Peripheral Multiplexing n - Group 1 0xAAB read-write n 0x0 0x0 PMUX1_14 Peripheral Multiplexing n - Group 1 0xB69 read-write n 0x0 0x0 PMUX1_15 Peripheral Multiplexing n - Group 1 0xC28 read-write n 0x0 0x0 PMUX1_2 Peripheral Multiplexing n - Group 1 0x2C3 read-write n 0x0 0x0 PMUX1_3 Peripheral Multiplexing n - Group 1 0x376 read-write n 0x0 0x0 PMUX1_4 Peripheral Multiplexing n - Group 1 0x42A read-write n 0x0 0x0 PMUX1_5 Peripheral Multiplexing n - Group 1 0x4DF read-write n 0x0 0x0 PMUX1_6 Peripheral Multiplexing n - Group 1 0x595 read-write n 0x0 0x0 PMUX1_7 Peripheral Multiplexing n - Group 1 0x64C read-write n 0x0 0x0 PMUX1_8 Peripheral Multiplexing n - Group 1 0x704 read-write n 0x0 0x0 PMUX1_9 Peripheral Multiplexing n - Group 1 0x7BD read-write n 0x0 0x0 WRCONFIG0 Write Configuration 0x50 32 write-only n 0x0 0x0 DRVSTR Output Driver Strength Selection 22 1 HWSEL Half-Word Select 31 1 INEN Input Enable 17 1 PINMASK Pin Mask for Multiple Pin Configuration 0 16 PMUX Peripheral Multiplexing 24 4 PMUXEN Peripheral Multiplexer Enable 16 1 PULLEN Pull Enable 18 1 WRPINCFG Write PINCFG 30 1 WRPMUX Write PMUX 28 1 WRCONFIG1 Write Configuration 0xF8 32 write-only n 0x0 0x0 DRVSTR Output Driver Strength Selection 22 1 HWSEL Half-Word Select 31 1 INEN Input Enable 17 1 PINMASK Pin Mask for Multiple Pin Configuration 0 16 PMUX Peripheral Multiplexing 24 4 PMUXEN Peripheral Multiplexer Enable 16 1 PULLEN Pull Enable 18 1 WRPINCFG Write PINCFG 30 1 WRPMUX Write PMUX 28 1 RTC Real-Time Counter RTC 0x0 0x0 0x40 registers n RTC 3 RTC_INTREQ 3 ALARM1 MODE2 Alarm n Value 0x18 32 read-write n 0x0 0x0 DAY Day 17 5 HOUR Hour 12 5 HOURSelect AM Morning hour 0x0 PM Afternoon hour 0x10 MINUTE Minute 6 6 MONTH Month 22 4 SECOND Second 0 6 YEAR Year 26 6 CLOCK MODE2 Clock Value 0x10 32 read-write n 0x0 0x0 DAY Day 17 5 HOUR Hour 12 5 HOURSelect AM AM when CLKREP in 12-hour 0x0 PM PM when CLKREP in 12-hour 0x10 MINUTE Minute 6 6 MONTH Month 22 4 SECOND Second 0 6 YEAR Year 26 6 COMP0 MODE1 Compare n Value 0x18 16 read-write n 0x0 0x0 COMP Compare Value 0 16 COMP1 MODE0 Compare n Value 0x18 32 read-write n 0x0 0x0 COMP Compare Value 0 16 COUNT MODE0 Counter Value 0x10 32 read-write n 0x0 0x0 COUNT Counter Value 0 16 CTRL MODE1 Control 0x0 16 read-write n 0x0 0x0 CLKREP Clock Representation 6 1 ENABLE Enable 1 1 MATCHCLR Clear on Match 7 1 MODE Operating Mode 2 2 MODESelect COUNT32 Mode 0: 32-bit Counter 0x0 COUNT16 Mode 1: 16-bit Counter 0x1 CLOCK Mode 2: Clock/Calendar 0x2 PRESCALER Prescaler 8 4 PRESCALERSelect DIV1 CLK_RTC_CNT = GCLK_RTC/1 0x0 DIV2 CLK_RTC_CNT = GCLK_RTC/2 0x1 DIV4 CLK_RTC_CNT = GCLK_RTC/4 0x2 DIV8 CLK_RTC_CNT = GCLK_RTC/8 0x3 DIV16 CLK_RTC_CNT = GCLK_RTC/16 0x4 DIV32 CLK_RTC_CNT = GCLK_RTC/32 0x5 DIV64 CLK_RTC_CNT = GCLK_RTC/64 0x6 DIV128 CLK_RTC_CNT = GCLK_RTC/128 0x7 DIV256 CLK_RTC_CNT = GCLK_RTC/256 0x8 DIV512 CLK_RTC_CNT = GCLK_RTC/512 0x9 DIV1024 CLK_RTC_CNT = GCLK_RTC/1024 0xa SWRST Software Reset 0 1 write-only DBGCTRL Debug Control 0xB 8 read-write n 0x0 0x0 DBGRUN Run During Debug 0 1 EVCTRL MODE1 Event Control 0x4 16 read-write n 0x0 0x0 ALARMEO0 Alarm 0 Event Output Enable 8 1 CMPEO0 Compare 0 Event Output Enable 8 1 CMPEO1 Compare 1 Event Output Enable 9 1 OVFEO Overflow Event Output Enable 15 1 PEREO0 Periodic Interval 0 Event Output Enable 0 1 PEREO1 Periodic Interval 1 Event Output Enable 1 1 PEREO2 Periodic Interval 2 Event Output Enable 2 1 PEREO3 Periodic Interval 3 Event Output Enable 3 1 PEREO4 Periodic Interval 4 Event Output Enable 4 1 PEREO5 Periodic Interval 5 Event Output Enable 5 1 PEREO6 Periodic Interval 6 Event Output Enable 6 1 PEREO7 Periodic Interval 7 Event Output Enable 7 1 FREQCORR Frequency Correction 0xC 8 read-write n 0x0 0x0 SIGN Correction Sign 7 1 VALUE Correction Value 0 7 INTENCLR MODE1 Interrupt Enable Clear 0x6 8 read-write n 0x0 0x0 ALARM0 Alarm 0 Interrupt Enable 0 1 CMP0 Compare 0 Interrupt Enable 0 1 CMP1 Compare 1 Interrupt Enable 1 1 OVF Overflow Interrupt Enable 7 1 SYNCRDY Synchronization Ready Interrupt Enable 6 1 INTENSET MODE1 Interrupt Enable Set 0x7 8 read-write n 0x0 0x0 ALARM0 Alarm 0 Interrupt Enable 0 1 CMP0 Compare 0 Interrupt Enable 0 1 CMP1 Compare 1 Interrupt Enable 1 1 OVF Overflow Interrupt Enable 7 1 SYNCRDY Synchronization Ready Interrupt Enable 6 1 INTFLAG MODE1 Interrupt Flag Status and Clear 0x8 8 read-write n 0x0 0x0 ALARM0 Alarm 0 0 1 CMP0 Compare 0 0 1 CMP1 Compare 1 1 1 OVF Overflow 7 1 SYNCRDY Synchronization Ready 6 1 MASK1 MODE2 Alarm n Mask 0x1C 8 read-write n 0x0 0x0 SEL Alarm Mask Selection 0 3 SELSelect OFF Alarm Disabled 0x0 SS Match seconds only 0x1 MMSS Match seconds and minutes only 0x2 HHMMSS Match seconds, minutes, and hours only 0x3 DDHHMMSS Match seconds, minutes, hours, and days only 0x4 MMDDHHMMSS Match seconds, minutes, hours, days, and months only 0x5 YYMMDDHHMMSS Match seconds, minutes, hours, days, months, and years 0x6 MODE0 - COMP0 32-bit Counter with Single 32-bit Compare - - MODE0 Compare n Value 0x30 32 read-write n 0x0 0x0 COMP Compare Value 0 32 MODE0 - COUNT 32-bit Counter with Single 32-bit Compare - - MODE0 Counter Value 0x10 32 read-write n 0x0 0x0 COUNT Counter Value 0 32 MODE0 - CTRL 32-bit Counter with Single 32-bit Compare - - MODE0 Control 0x0 16 read-write n 0x0 0x0 ENABLE Enable 1 1 MATCHCLR Clear on Match 7 1 MODE Operating Mode 2 2 MODESelect COUNT32 Mode 0: 32-bit Counter 0x0 COUNT16 Mode 1: 16-bit Counter 0x1 CLOCK Mode 2: Clock/Calendar 0x2 PRESCALER Prescaler 8 4 PRESCALERSelect DIV1 CLK_RTC_CNT = GCLK_RTC/1 0x0 DIV2 CLK_RTC_CNT = GCLK_RTC/2 0x1 DIV4 CLK_RTC_CNT = GCLK_RTC/4 0x2 DIV8 CLK_RTC_CNT = GCLK_RTC/8 0x3 DIV16 CLK_RTC_CNT = GCLK_RTC/16 0x4 DIV32 CLK_RTC_CNT = GCLK_RTC/32 0x5 DIV64 CLK_RTC_CNT = GCLK_RTC/64 0x6 DIV128 CLK_RTC_CNT = GCLK_RTC/128 0x7 DIV256 CLK_RTC_CNT = GCLK_RTC/256 0x8 DIV512 CLK_RTC_CNT = GCLK_RTC/512 0x9 DIV1024 CLK_RTC_CNT = GCLK_RTC/1024 0xa SWRST Software Reset 0 1 write-only MODE0 - DBGCTRL 32-bit Counter with Single 32-bit Compare - - Debug Control 0xB 8 read-write n 0x0 0x0 DBGRUN Run During Debug 0 1 MODE0 - EVCTRL 32-bit Counter with Single 32-bit Compare - - MODE0 Event Control 0x4 16 read-write n 0x0 0x0 CMPEO0 Compare 0 Event Output Enable 8 1 OVFEO Overflow Event Output Enable 15 1 PEREO0 Periodic Interval 0 Event Output Enable 0 1 PEREO1 Periodic Interval 1 Event Output Enable 1 1 PEREO2 Periodic Interval 2 Event Output Enable 2 1 PEREO3 Periodic Interval 3 Event Output Enable 3 1 PEREO4 Periodic Interval 4 Event Output Enable 4 1 PEREO5 Periodic Interval 5 Event Output Enable 5 1 PEREO6 Periodic Interval 6 Event Output Enable 6 1 PEREO7 Periodic Interval 7 Event Output Enable 7 1 MODE0 - FREQCORR 32-bit Counter with Single 32-bit Compare - - Frequency Correction 0xC 8 read-write n 0x0 0x0 SIGN Correction Sign 7 1 VALUE Correction Value 0 7 MODE0 - INTENCLR 32-bit Counter with Single 32-bit Compare - - MODE0 Interrupt Enable Clear 0x6 8 read-write n 0x0 0x0 CMP0 Compare 0 Interrupt Enable 0 1 OVF Overflow Interrupt Enable 7 1 SYNCRDY Synchronization Ready Interrupt Enable 6 1 MODE0 - INTENSET 32-bit Counter with Single 32-bit Compare - - MODE0 Interrupt Enable Set 0x7 8 read-write n 0x0 0x0 CMP0 Compare 0 Interrupt Enable 0 1 OVF Overflow Interrupt Enable 7 1 SYNCRDY Synchronization Ready Interrupt Enable 6 1 MODE0 - INTFLAG 32-bit Counter with Single 32-bit Compare - - MODE0 Interrupt Flag Status and Clear 0x8 8 read-write n 0x0 0x0 CMP0 Compare 0 0 1 OVF Overflow 7 1 SYNCRDY Synchronization Ready 6 1 MODE0 - READREQ 32-bit Counter with Single 32-bit Compare - - Read Request 0x2 16 read-write n 0x0 0x0 ADDR Address 0 6 read-only RCONT Read Continuously 14 1 RREQ Read Request 15 1 write-only MODE0 - STATUS 32-bit Counter with Single 32-bit Compare - - Status 0xA 8 read-write n 0x0 0x0 SYNCBUSY Synchronization Busy 7 1 read-only MODE1 - COMP0 16-bit Counter with Two 16-bit Compares - - MODE1 Compare n Value 0x30 16 read-write n 0x0 0x0 COMP Compare Value 0 16 MODE1 - COMP1 16-bit Counter with Two 16-bit Compares - - MODE1 Compare n Value 0x4A 16 read-write n 0x0 0x0 COMP Compare Value 0 16 MODE1 - COUNT 16-bit Counter with Two 16-bit Compares - - MODE1 Counter Value 0x10 16 read-write n 0x0 0x0 COUNT Counter Value 0 16 MODE1 - CTRL 16-bit Counter with Two 16-bit Compares - - MODE1 Control 0x0 16 read-write n 0x0 0x0 ENABLE Enable 1 1 MODE Operating Mode 2 2 MODESelect COUNT32 Mode 0: 32-bit Counter 0x0 COUNT16 Mode 1: 16-bit Counter 0x1 CLOCK Mode 2: Clock/Calendar 0x2 PRESCALER Prescaler 8 4 PRESCALERSelect DIV1 CLK_RTC_CNT = GCLK_RTC/1 0x0 DIV2 CLK_RTC_CNT = GCLK_RTC/2 0x1 DIV4 CLK_RTC_CNT = GCLK_RTC/4 0x2 DIV8 CLK_RTC_CNT = GCLK_RTC/8 0x3 DIV16 CLK_RTC_CNT = GCLK_RTC/16 0x4 DIV32 CLK_RTC_CNT = GCLK_RTC/32 0x5 DIV64 CLK_RTC_CNT = GCLK_RTC/64 0x6 DIV128 CLK_RTC_CNT = GCLK_RTC/128 0x7 DIV256 CLK_RTC_CNT = GCLK_RTC/256 0x8 DIV512 CLK_RTC_CNT = GCLK_RTC/512 0x9 DIV1024 CLK_RTC_CNT = GCLK_RTC/1024 0xa SWRST Software Reset 0 1 write-only MODE1 - DBGCTRL 16-bit Counter with Two 16-bit Compares - - Debug Control 0xB 8 read-write n 0x0 0x0 DBGRUN Run During Debug 0 1 MODE1 - EVCTRL 16-bit Counter with Two 16-bit Compares - - MODE1 Event Control 0x4 16 read-write n 0x0 0x0 CMPEO0 Compare 0 Event Output Enable 8 1 CMPEO1 Compare 1 Event Output Enable 9 1 OVFEO Overflow Event Output Enable 15 1 PEREO0 Periodic Interval 0 Event Output Enable 0 1 PEREO1 Periodic Interval 1 Event Output Enable 1 1 PEREO2 Periodic Interval 2 Event Output Enable 2 1 PEREO3 Periodic Interval 3 Event Output Enable 3 1 PEREO4 Periodic Interval 4 Event Output Enable 4 1 PEREO5 Periodic Interval 5 Event Output Enable 5 1 PEREO6 Periodic Interval 6 Event Output Enable 6 1 PEREO7 Periodic Interval 7 Event Output Enable 7 1 MODE1 - FREQCORR 16-bit Counter with Two 16-bit Compares - - Frequency Correction 0xC 8 read-write n 0x0 0x0 SIGN Correction Sign 7 1 VALUE Correction Value 0 7 MODE1 - INTENCLR 16-bit Counter with Two 16-bit Compares - - MODE1 Interrupt Enable Clear 0x6 8 read-write n 0x0 0x0 CMP0 Compare 0 Interrupt Enable 0 1 CMP1 Compare 1 Interrupt Enable 1 1 OVF Overflow Interrupt Enable 7 1 SYNCRDY Synchronization Ready Interrupt Enable 6 1 MODE1 - INTENSET 16-bit Counter with Two 16-bit Compares - - MODE1 Interrupt Enable Set 0x7 8 read-write n 0x0 0x0 CMP0 Compare 0 Interrupt Enable 0 1 CMP1 Compare 1 Interrupt Enable 1 1 OVF Overflow Interrupt Enable 7 1 SYNCRDY Synchronization Ready Interrupt Enable 6 1 MODE1 - INTFLAG 16-bit Counter with Two 16-bit Compares - - MODE1 Interrupt Flag Status and Clear 0x8 8 read-write n 0x0 0x0 CMP0 Compare 0 0 1 CMP1 Compare 1 1 1 OVF Overflow 7 1 SYNCRDY Synchronization Ready 6 1 MODE1 - PER 16-bit Counter with Two 16-bit Compares - - MODE1 Counter Period 0x14 16 read-write n 0x0 0x0 PER Counter Period 0 16 MODE1 - READREQ 16-bit Counter with Two 16-bit Compares - - Read Request 0x2 16 read-write n 0x0 0x0 ADDR Address 0 6 read-only RCONT Read Continuously 14 1 RREQ Read Request 15 1 write-only MODE1 - STATUS 16-bit Counter with Two 16-bit Compares - - Status 0xA 8 read-write n 0x0 0x0 SYNCBUSY Synchronization Busy 7 1 read-only MODE2 - ALARM0 Clock/Calendar with Alarm - - MODE2 Alarm n Value 0x30 32 read-write n 0x0 0x0 DAY Day 17 5 HOUR Hour 12 5 HOURSelect AM Morning hour 0x0 PM Afternoon hour 0x10 MINUTE Minute 6 6 MONTH Month 22 4 SECOND Second 0 6 YEAR Year 26 6 MODE2 - CLOCK Clock/Calendar with Alarm - - MODE2 Clock Value 0x10 32 read-write n 0x0 0x0 DAY Day 17 5 HOUR Hour 12 5 HOURSelect AM AM when CLKREP in 12-hour 0x0 PM PM when CLKREP in 12-hour 0x10 MINUTE Minute 6 6 MONTH Month 22 4 SECOND Second 0 6 YEAR Year 26 6 MODE2 - CTRL Clock/Calendar with Alarm - - MODE2 Control 0x0 16 read-write n 0x0 0x0 CLKREP Clock Representation 6 1 ENABLE Enable 1 1 MATCHCLR Clear on Match 7 1 MODE Operating Mode 2 2 MODESelect COUNT32 Mode 0: 32-bit Counter 0x0 COUNT16 Mode 1: 16-bit Counter 0x1 CLOCK Mode 2: Clock/Calendar 0x2 PRESCALER Prescaler 8 4 PRESCALERSelect DIV1 CLK_RTC_CNT = GCLK_RTC/1 0x0 DIV2 CLK_RTC_CNT = GCLK_RTC/2 0x1 DIV4 CLK_RTC_CNT = GCLK_RTC/4 0x2 DIV8 CLK_RTC_CNT = GCLK_RTC/8 0x3 DIV16 CLK_RTC_CNT = GCLK_RTC/16 0x4 DIV32 CLK_RTC_CNT = GCLK_RTC/32 0x5 DIV64 CLK_RTC_CNT = GCLK_RTC/64 0x6 DIV128 CLK_RTC_CNT = GCLK_RTC/128 0x7 DIV256 CLK_RTC_CNT = GCLK_RTC/256 0x8 DIV512 CLK_RTC_CNT = GCLK_RTC/512 0x9 DIV1024 CLK_RTC_CNT = GCLK_RTC/1024 0xa SWRST Software Reset 0 1 write-only MODE2 - DBGCTRL Clock/Calendar with Alarm - - Debug Control 0xB 8 read-write n 0x0 0x0 DBGRUN Run During Debug 0 1 MODE2 - EVCTRL Clock/Calendar with Alarm - - MODE2 Event Control 0x4 16 read-write n 0x0 0x0 ALARMEO0 Alarm 0 Event Output Enable 8 1 OVFEO Overflow Event Output Enable 15 1 PEREO0 Periodic Interval 0 Event Output Enable 0 1 PEREO1 Periodic Interval 1 Event Output Enable 1 1 PEREO2 Periodic Interval 2 Event Output Enable 2 1 PEREO3 Periodic Interval 3 Event Output Enable 3 1 PEREO4 Periodic Interval 4 Event Output Enable 4 1 PEREO5 Periodic Interval 5 Event Output Enable 5 1 PEREO6 Periodic Interval 6 Event Output Enable 6 1 PEREO7 Periodic Interval 7 Event Output Enable 7 1 MODE2 - FREQCORR Clock/Calendar with Alarm - - Frequency Correction 0xC 8 read-write n 0x0 0x0 SIGN Correction Sign 7 1 VALUE Correction Value 0 7 MODE2 - INTENCLR Clock/Calendar with Alarm - - MODE2 Interrupt Enable Clear 0x6 8 read-write n 0x0 0x0 ALARM0 Alarm 0 Interrupt Enable 0 1 OVF Overflow Interrupt Enable 7 1 SYNCRDY Synchronization Ready Interrupt Enable 6 1 MODE2 - INTENSET Clock/Calendar with Alarm - - MODE2 Interrupt Enable Set 0x7 8 read-write n 0x0 0x0 ALARM0 Alarm 0 Interrupt Enable 0 1 OVF Overflow Interrupt Enable 7 1 SYNCRDY Synchronization Ready Interrupt Enable 6 1 MODE2 - INTFLAG Clock/Calendar with Alarm - - MODE2 Interrupt Flag Status and Clear 0x8 8 read-write n 0x0 0x0 ALARM0 Alarm 0 0 1 OVF Overflow 7 1 SYNCRDY Synchronization Ready 6 1 MODE2 - MASK0 Clock/Calendar with Alarm - - MODE2 Alarm n Mask 0x38 8 read-write n 0x0 0x0 SEL Alarm Mask Selection 0 3 SELSelect OFF Alarm Disabled 0x0 SS Match seconds only 0x1 MMSS Match seconds and minutes only 0x2 HHMMSS Match seconds, minutes, and hours only 0x3 DDHHMMSS Match seconds, minutes, hours, and days only 0x4 MMDDHHMMSS Match seconds, minutes, hours, days, and months only 0x5 YYMMDDHHMMSS Match seconds, minutes, hours, days, months, and years 0x6 MODE2 - READREQ Clock/Calendar with Alarm - - Read Request 0x2 16 read-write n 0x0 0x0 ADDR Address 0 6 read-only RCONT Read Continuously 14 1 RREQ Read Request 15 1 write-only MODE2 - STATUS Clock/Calendar with Alarm - - Status 0xA 8 read-write n 0x0 0x0 SYNCBUSY Synchronization Busy 7 1 read-only PER MODE1 Counter Period 0x14 16 read-write n 0x0 0x0 PER Counter Period 0 16 READREQ Read Request 0x2 16 read-write n 0x0 0x0 ADDR Address 0 6 read-only RCONT Read Continuously 14 1 RREQ Read Request 15 1 write-only STATUS Status 0xA 8 read-write n 0x0 0x0 SYNCBUSY Synchronization Busy 7 1 read-only SERCOM0 Serial Communication Interface 0 SERCOM 0x0 0x0 0x40 registers n SERCOM0 9 SERCOM0_INTREQ 9 ADDR I2CS Address 0x24 32 read-write n 0x0 0x0 ADDR Address Value 0 8 ADDRMASK Address Mask 16 8 GENCEN General Call Address Enable 0 1 HS High Speed Mode 14 1 LEN Length 16 8 LENEN Length Enable 13 1 TENBITEN Ten Bit Addressing Enable 15 1 BAUD SPI Baud Rate 0xC 8 read-write n 0x0 0x0 BAUD Baud Rate Value 0 16 BAUDLOW Baud Rate Value Low 8 8 HSBAUD High Speed Baud Rate Value 16 8 HSBAUDLOW High Speed Baud Rate Value Low 24 8 BAUD_FRACFP_MODE USART Baud Rate BAUD 0xC 16 read-write n 0x0 0x0 BAUD Baud Rate Value 0 13 FP Fractional Part 13 3 BAUD_FRAC_MODE USART Baud Rate BAUD 0xC 16 read-write n 0x0 0x0 BAUD Baud Rate Value 0 13 FP Fractional Part 13 3 BAUD_USARTFP_MODE USART Baud Rate BAUD 0xC 16 read-write n 0x0 0x0 BAUD Baud Rate Value 0 16 CTRLA SPI Control A 0x0 32 read-write n 0x0 0x0 CMODE Communication Mode 28 1 CPHA Clock Phase 28 1 CPOL Clock Polarity 29 1 DIPO Data In Pinout 20 2 DOPO Data Out Pinout 16 2 DORD Data Order 30 1 ENABLE Enable 1 1 FORM Frame Format 24 4 IBON Immediate Buffer Overflow Notification 8 1 INACTOUT Inactive Time-Out 28 2 LOWTOUTEN SCL Low Timeout Enable 30 1 MEXTTOEN Master SCL Low Extend Timeout 22 1 MODE Operating Mode 2 3 MODESelect USART_EXT_CLK USART mode with external clock 0x0 USART_INT_CLK USART mode with internal clock 0x1 SPI_SLAVE SPI mode with external clock 0x2 SPI_MASTER SPI mode with internal clock 0x3 I2C_SLAVE I2C mode with external clock 0x4 I2C_MASTER I2C mode with internal clock 0x5 PINOUT Pin Usage 16 1 RUNSTDBY Run during Standby 7 1 RXPO Receive Data Pinout 20 2 SAMPA Sample Adjustment 22 2 SAMPR Sample 13 3 SCLSM SCL Clock Stretch Mode 27 1 SDAHOLD SDA Hold Time 20 2 SEXTTOEN Slave SCL Low Extend Timeout 23 1 SPEED Transfer Speed 24 2 SWRST Software Reset 0 1 TXPO Transmit Data Pinout 16 2 CTRLB SPI Control B 0x4 32 read-write n 0x0 0x0 AACKEN Automatic Address Acknowledge 10 1 ACKACT Acknowledge Action 18 1 AMODE Address Mode 14 2 CHSIZE Character Size 0 3 CMD Command 16 2 write-only COLDEN Collision Detection Enable 8 1 ENC Encoding Format 10 1 GCMD PMBus Group Command 9 1 MSSEN Master Slave Select Enable 13 1 PLOADEN Data Preload Enable 6 1 PMODE Parity Mode 13 1 QCEN Quick Command Enable 9 1 RXEN Receiver Enable 17 1 SBMODE Stop Bit Mode 6 1 SFDE Start of Frame Detection Enable 9 1 SMEN Smart Mode Enable 8 1 SSDE Slave Select Low Detect Enable 9 1 TXEN Transmitter Enable 16 1 DATA SPI Data 0x28 32 read-write n 0x0 0x0 DATA Data Value 0 9 DBGCTRL SPI Debug Control 0x30 8 read-write n 0x0 0x0 DBGSTOP Debug Mode 0 1 INTENCLR SPI Interrupt Enable Clear 0x14 8 read-write n 0x0 0x0 AMATCH Address Match Interrupt Disable 1 1 CTSIC Clear To Send Input Change Interrupt Disable 4 1 DRDY Data Interrupt Disable 2 1 DRE Data Register Empty Interrupt Disable 0 1 ERROR Combined Error Interrupt Disable 7 1 MB Master On Bus Interrupt Disable 0 1 PREC Stop Received Interrupt Disable 0 1 RXBRK Break Received Interrupt Disable 5 1 RXC Receive Complete Interrupt Disable 2 1 RXS Receive Start Interrupt Disable 3 1 SB Slave On Bus Interrupt Disable 1 1 SSL Slave Select Low Interrupt Disable 3 1 TXC Transmit Complete Interrupt Disable 1 1 INTENSET SPI Interrupt Enable Set 0x16 8 read-write n 0x0 0x0 AMATCH Address Match Interrupt Enable 1 1 CTSIC Clear To Send Input Change Interrupt Enable 4 1 DRDY Data Interrupt Enable 2 1 DRE Data Register Empty Interrupt Enable 0 1 ERROR Combined Error Interrupt Enable 7 1 MB Master On Bus Interrupt Enable 0 1 PREC Stop Received Interrupt Enable 0 1 RXBRK Break Received Interrupt Enable 5 1 RXC Receive Complete Interrupt Enable 2 1 RXS Receive Start Interrupt Enable 3 1 SB Slave On Bus Interrupt Enable 1 1 SSL Slave Select Low Interrupt Enable 3 1 TXC Transmit Complete Interrupt Enable 1 1 INTFLAG SPI Interrupt Flag Status and Clear 0x18 8 read-write n 0x0 0x0 AMATCH Address Match Interrupt 1 1 CTSIC Clear To Send Input Change Interrupt 4 1 DRDY Data Interrupt 2 1 DRE Data Register Empty Interrupt 0 1 read-only ERROR Combined Error Interrupt 7 1 MB Master On Bus Interrupt 0 1 PREC Stop Received Interrupt 0 1 RXBRK Break Received Interrupt 5 1 RXC Receive Complete Interrupt 2 1 read-only RXS Receive Start Interrupt 3 1 write-only SB Slave On Bus Interrupt 1 1 SSL Slave Select Low Interrupt Flag 3 1 TXC Transmit Complete Interrupt 1 1 RXPL USART Receive Pulse Length 0xE 8 read-write n 0x0 0x0 RXPL Receive Pulse Length 0 8 SERCOM_I2CM - ADDR I2C Master Mode - - I2CM Address 0x24 32 read-write n 0x0 0x0 ADDR Address Value 0 11 HS High Speed Mode 14 1 LEN Length 16 8 LENEN Length Enable 13 1 TENBITEN Ten Bit Addressing Enable 15 1 SERCOM_I2CM - BAUD I2C Master Mode - - I2CM Baud Rate 0xC 32 read-write n 0x0 0x0 BAUD Baud Rate Value 0 8 BAUDLOW Baud Rate Value Low 8 8 HSBAUD High Speed Baud Rate Value 16 8 HSBAUDLOW High Speed Baud Rate Value Low 24 8 SERCOM_I2CM - CTRLA I2C Master Mode - - I2CM Control A 0x0 32 read-write n 0x0 0x0 ENABLE Enable 1 1 INACTOUT Inactive Time-Out 28 2 LOWTOUTEN SCL Low Timeout Enable 30 1 MEXTTOEN Master SCL Low Extend Timeout 22 1 MODE Operating Mode 2 3 MODESelect USART_EXT_CLK USART mode with external clock 0x0 USART_INT_CLK USART mode with internal clock 0x1 SPI_SLAVE SPI mode with external clock 0x2 SPI_MASTER SPI mode with internal clock 0x3 I2C_SLAVE I2C mode with external clock 0x4 I2C_MASTER I2C mode with internal clock 0x5 PINOUT Pin Usage 16 1 RUNSTDBY Run in Standby 7 1 SCLSM SCL Clock Stretch Mode 27 1 SDAHOLD SDA Hold Time 20 2 SEXTTOEN Slave SCL Low Extend Timeout 23 1 SPEED Transfer Speed 24 2 SWRST Software Reset 0 1 SERCOM_I2CM - CTRLB I2C Master Mode - - I2CM Control B 0x4 32 read-write n 0x0 0x0 ACKACT Acknowledge Action 18 1 CMD Command 16 2 write-only QCEN Quick Command Enable 9 1 SMEN Smart Mode Enable 8 1 SERCOM_I2CM - DATA I2C Master Mode - - I2CM Data 0x28 8 read-write n 0x0 0x0 DATA Data Value 0 8 SERCOM_I2CM - DBGCTRL I2C Master Mode - - I2CM Debug Control 0x30 8 read-write n 0x0 0x0 DBGSTOP Debug Mode 0 1 SERCOM_I2CM - INTENCLR I2C Master Mode - - I2CM Interrupt Enable Clear 0x14 8 read-write n 0x0 0x0 ERROR Combined Error Interrupt Disable 7 1 MB Master On Bus Interrupt Disable 0 1 SB Slave On Bus Interrupt Disable 1 1 SERCOM_I2CM - INTENSET I2C Master Mode - - I2CM Interrupt Enable Set 0x16 8 read-write n 0x0 0x0 ERROR Combined Error Interrupt Enable 7 1 MB Master On Bus Interrupt Enable 0 1 SB Slave On Bus Interrupt Enable 1 1 SERCOM_I2CM - INTFLAG I2C Master Mode - - I2CM Interrupt Flag Status and Clear 0x18 8 read-write n 0x0 0x0 ERROR Combined Error Interrupt 7 1 MB Master On Bus Interrupt 0 1 SB Slave On Bus Interrupt 1 1 SERCOM_I2CM - STATUS I2C Master Mode - - I2CM Status 0x1A 16 read-write n 0x0 0x0 ARBLOST Arbitration Lost 1 1 BUSERR Bus Error 0 1 BUSSTATE Bus State 4 2 CLKHOLD Clock Hold 7 1 read-only LENERR Length Error 10 1 LOWTOUT SCL Low Timeout 6 1 MEXTTOUT Master SCL Low Extend Timeout 8 1 RXNACK Received Not Acknowledge 2 1 read-only SEXTTOUT Slave SCL Low Extend Timeout 9 1 SERCOM_I2CM - SYNCBUSY I2C Master Mode - - I2CM Synchronization Busy 0x1C 32 read-only n 0x0 0x0 ENABLE SERCOM Enable Synchronization Busy 1 1 read-only SWRST Software Reset Synchronization Busy 0 1 read-only SYSOP System Operation Synchronization Busy 2 1 read-only SERCOM_I2CS - ADDR I2C Slave Mode - - I2CS Address 0x24 32 read-write n 0x0 0x0 ADDR Address Value 1 10 ADDRMASK Address Mask 17 10 GENCEN General Call Address Enable 0 1 TENBITEN Ten Bit Addressing Enable 15 1 SERCOM_I2CS - CTRLA I2C Slave Mode - - I2CS Control A 0x0 32 read-write n 0x0 0x0 ENABLE Enable 1 1 LOWTOUTEN SCL Low Timeout Enable 30 1 MODE Operating Mode 2 3 MODESelect USART_EXT_CLK USART mode with external clock 0x0 USART_INT_CLK USART mode with internal clock 0x1 SPI_SLAVE SPI mode with external clock 0x2 SPI_MASTER SPI mode with internal clock 0x3 I2C_SLAVE I2C mode with external clock 0x4 I2C_MASTER I2C mode with internal clock 0x5 PINOUT Pin Usage 16 1 RUNSTDBY Run during Standby 7 1 SCLSM SCL Clock Stretch Mode 27 1 SDAHOLD SDA Hold Time 20 2 SEXTTOEN Slave SCL Low Extend Timeout 23 1 SPEED Transfer Speed 24 2 SWRST Software Reset 0 1 SERCOM_I2CS - CTRLB I2C Slave Mode - - I2CS Control B 0x4 32 read-write n 0x0 0x0 AACKEN Automatic Address Acknowledge 10 1 ACKACT Acknowledge Action 18 1 AMODE Address Mode 14 2 CMD Command 16 2 write-only GCMD PMBus Group Command 9 1 SMEN Smart Mode Enable 8 1 SERCOM_I2CS - DATA I2C Slave Mode - - I2CS Data 0x28 8 read-write n 0x0 0x0 DATA Data Value 0 8 SERCOM_I2CS - INTENCLR I2C Slave Mode - - I2CS Interrupt Enable Clear 0x14 8 read-write n 0x0 0x0 AMATCH Address Match Interrupt Disable 1 1 DRDY Data Interrupt Disable 2 1 ERROR Combined Error Interrupt Disable 7 1 PREC Stop Received Interrupt Disable 0 1 SERCOM_I2CS - INTENSET I2C Slave Mode - - I2CS Interrupt Enable Set 0x16 8 read-write n 0x0 0x0 AMATCH Address Match Interrupt Enable 1 1 DRDY Data Interrupt Enable 2 1 ERROR Combined Error Interrupt Enable 7 1 PREC Stop Received Interrupt Enable 0 1 SERCOM_I2CS - INTFLAG I2C Slave Mode - - I2CS Interrupt Flag Status and Clear 0x18 8 read-write n 0x0 0x0 AMATCH Address Match Interrupt 1 1 DRDY Data Interrupt 2 1 ERROR Combined Error Interrupt 7 1 PREC Stop Received Interrupt 0 1 SERCOM_I2CS - STATUS I2C Slave Mode - - I2CS Status 0x1A 16 read-write n 0x0 0x0 BUSERR Bus Error 0 1 CLKHOLD Clock Hold 7 1 read-only COLL Transmit Collision 1 1 DIR Read/Write Direction 3 1 read-only HS High Speed 10 1 LOWTOUT SCL Low Timeout 6 1 RXNACK Received Not Acknowledge 2 1 read-only SEXTTOUT Slave SCL Low Extend Timeout 9 1 SR Repeated Start 4 1 read-only SERCOM_I2CS - SYNCBUSY I2C Slave Mode - - I2CS Synchronization Busy 0x1C 32 read-only n 0x0 0x0 ENABLE SERCOM Enable Synchronization Busy 1 1 read-only SWRST Software Reset Synchronization Busy 0 1 read-only SERCOM_SPI - ADDR SPI Mode - - SPI Address 0x24 32 read-write n 0x0 0x0 ADDR Address Value 0 8 ADDRMASK Address Mask 16 8 SERCOM_SPI - BAUD SPI Mode - - SPI Baud Rate 0xC 8 read-write n 0x0 0x0 BAUD Baud Rate Value 0 8 SERCOM_SPI - CTRLA SPI Mode - - SPI Control A 0x0 32 read-write n 0x0 0x0 CPHA Clock Phase 28 1 CPOL Clock Polarity 29 1 DIPO Data In Pinout 20 2 DOPO Data Out Pinout 16 2 DORD Data Order 30 1 ENABLE Enable 1 1 FORM Frame Format 24 4 IBON Immediate Buffer Overflow Notification 8 1 MODE Operating Mode 2 3 MODESelect USART_EXT_CLK USART mode with external clock 0x0 USART_INT_CLK USART mode with internal clock 0x1 SPI_SLAVE SPI mode with external clock 0x2 SPI_MASTER SPI mode with internal clock 0x3 I2C_SLAVE I2C mode with external clock 0x4 I2C_MASTER I2C mode with internal clock 0x5 RUNSTDBY Run during Standby 7 1 SWRST Software Reset 0 1 SERCOM_SPI - CTRLB SPI Mode - - SPI Control B 0x4 32 read-write n 0x0 0x0 AMODE Address Mode 14 2 CHSIZE Character Size 0 3 MSSEN Master Slave Select Enable 13 1 PLOADEN Data Preload Enable 6 1 RXEN Receiver Enable 17 1 SSDE Slave Select Low Detect Enable 9 1 SERCOM_SPI - DATA SPI Mode - - SPI Data 0x28 32 read-write n 0x0 0x0 DATA Data Value 0 9 SERCOM_SPI - DBGCTRL SPI Mode - - SPI Debug Control 0x30 8 read-write n 0x0 0x0 DBGSTOP Debug Mode 0 1 SERCOM_SPI - INTENCLR SPI Mode - - SPI Interrupt Enable Clear 0x14 8 read-write n 0x0 0x0 DRE Data Register Empty Interrupt Disable 0 1 ERROR Combined Error Interrupt Disable 7 1 RXC Receive Complete Interrupt Disable 2 1 SSL Slave Select Low Interrupt Disable 3 1 TXC Transmit Complete Interrupt Disable 1 1 SERCOM_SPI - INTENSET SPI Mode - - SPI Interrupt Enable Set 0x16 8 read-write n 0x0 0x0 DRE Data Register Empty Interrupt Enable 0 1 ERROR Combined Error Interrupt Enable 7 1 RXC Receive Complete Interrupt Enable 2 1 SSL Slave Select Low Interrupt Enable 3 1 TXC Transmit Complete Interrupt Enable 1 1 SERCOM_SPI - INTFLAG SPI Mode - - SPI Interrupt Flag Status and Clear 0x18 8 read-write n 0x0 0x0 DRE Data Register Empty Interrupt 0 1 read-only ERROR Combined Error Interrupt 7 1 RXC Receive Complete Interrupt 2 1 read-only SSL Slave Select Low Interrupt Flag 3 1 TXC Transmit Complete Interrupt 1 1 SERCOM_SPI - STATUS SPI Mode - - SPI Status 0x1A 16 read-write n 0x0 0x0 BUFOVF Buffer Overflow 2 1 SERCOM_SPI - SYNCBUSY SPI Mode - - SPI Synchronization Busy 0x1C 32 read-only n 0x0 0x0 CTRLB CTRLB Synchronization Busy 2 1 read-only ENABLE SERCOM Enable Synchronization Busy 1 1 read-only SWRST Software Reset Synchronization Busy 0 1 read-only SERCOM_USART - BAUD USART Mode - - USART Baud Rate 0xC 16 read-write n 0x0 0x0 BAUD Baud Rate Value 0 16 SERCOM_USART - BAUD_FRACFP_MODE USART Mode - - USART Baud Rate BAUD 0xC 16 read-write n 0x0 0x0 BAUD Baud Rate Value 0 13 FP Fractional Part 13 3 SERCOM_USART - BAUD_FRAC_MODE USART Mode - - USART Baud Rate BAUD 0xC 16 read-write n 0x0 0x0 BAUD Baud Rate Value 0 13 FP Fractional Part 13 3 SERCOM_USART - BAUD_USARTFP_MODE USART Mode - - USART Baud Rate BAUD 0xC 16 read-write n 0x0 0x0 BAUD Baud Rate Value 0 16 SERCOM_USART - CTRLA USART Mode - - USART Control A 0x0 32 read-write n 0x0 0x0 CMODE Communication Mode 28 1 CPOL Clock Polarity 29 1 DORD Data Order 30 1 ENABLE Enable 1 1 FORM Frame Format 24 4 IBON Immediate Buffer Overflow Notification 8 1 MODE Operating Mode 2 3 MODESelect USART_EXT_CLK USART mode with external clock 0x0 USART_INT_CLK USART mode with internal clock 0x1 SPI_SLAVE SPI mode with external clock 0x2 SPI_MASTER SPI mode with internal clock 0x3 I2C_SLAVE I2C mode with external clock 0x4 I2C_MASTER I2C mode with internal clock 0x5 RUNSTDBY Run during Standby 7 1 RXPO Receive Data Pinout 20 2 SAMPA Sample Adjustment 22 2 SAMPR Sample 13 3 SWRST Software Reset 0 1 TXPO Transmit Data Pinout 16 2 SERCOM_USART - CTRLB USART Mode - - USART Control B 0x4 32 read-write n 0x0 0x0 CHSIZE Character Size 0 3 COLDEN Collision Detection Enable 8 1 ENC Encoding Format 10 1 PMODE Parity Mode 13 1 RXEN Receiver Enable 17 1 SBMODE Stop Bit Mode 6 1 SFDE Start of Frame Detection Enable 9 1 TXEN Transmitter Enable 16 1 SERCOM_USART - DATA USART Mode - - USART Data 0x28 16 read-write n 0x0 0x0 DATA Data Value 0 9 SERCOM_USART - DBGCTRL USART Mode - - USART Debug Control 0x30 8 read-write n 0x0 0x0 DBGSTOP Debug Mode 0 1 SERCOM_USART - INTENCLR USART Mode - - USART Interrupt Enable Clear 0x14 8 read-write n 0x0 0x0 CTSIC Clear To Send Input Change Interrupt Disable 4 1 DRE Data Register Empty Interrupt Disable 0 1 ERROR Combined Error Interrupt Disable 7 1 RXBRK Break Received Interrupt Disable 5 1 RXC Receive Complete Interrupt Disable 2 1 RXS Receive Start Interrupt Disable 3 1 TXC Transmit Complete Interrupt Disable 1 1 SERCOM_USART - INTENSET USART Mode - - USART Interrupt Enable Set 0x16 8 read-write n 0x0 0x0 CTSIC Clear To Send Input Change Interrupt Enable 4 1 DRE Data Register Empty Interrupt Enable 0 1 ERROR Combined Error Interrupt Enable 7 1 RXBRK Break Received Interrupt Enable 5 1 RXC Receive Complete Interrupt Enable 2 1 RXS Receive Start Interrupt Enable 3 1 TXC Transmit Complete Interrupt Enable 1 1 SERCOM_USART - INTFLAG USART Mode - - USART Interrupt Flag Status and Clear 0x18 8 read-write n 0x0 0x0 CTSIC Clear To Send Input Change Interrupt 4 1 DRE Data Register Empty Interrupt 0 1 read-only ERROR Combined Error Interrupt 7 1 RXBRK Break Received Interrupt 5 1 RXC Receive Complete Interrupt 2 1 read-only RXS Receive Start Interrupt 3 1 write-only TXC Transmit Complete Interrupt 1 1 SERCOM_USART - RXPL USART Mode - - USART Receive Pulse Length 0xE 8 read-write n 0x0 0x0 RXPL Receive Pulse Length 0 8 SERCOM_USART - STATUS USART Mode - - USART Status 0x1A 16 read-write n 0x0 0x0 BUFOVF Buffer Overflow 2 1 COLL Collision Detected 5 1 CTS Clear To Send 3 1 read-only FERR Frame Error 1 1 ISF Inconsistent Sync Field 4 1 PERR Parity Error 0 1 SERCOM_USART - SYNCBUSY USART Mode - - USART Synchronization Busy 0x1C 32 read-only n 0x0 0x0 CTRLB CTRLB Synchronization Busy 2 1 read-only ENABLE SERCOM Enable Synchronization Busy 1 1 read-only SWRST Software Reset Synchronization Busy 0 1 read-only STATUS SPI Status 0x1A 16 read-write n 0x0 0x0 ARBLOST Arbitration Lost 1 1 BUFOVF Buffer Overflow 2 1 BUSERR Bus Error 0 1 BUSSTATE Bus State 4 2 CLKHOLD Clock Hold 7 1 read-only COLL Collision Detected 5 1 CTS Clear To Send 3 1 read-only DIR Read/Write Direction 3 1 read-only FERR Frame Error 1 1 HS High Speed 10 1 ISF Inconsistent Sync Field 4 1 LENERR Length Error 10 1 LOWTOUT SCL Low Timeout 6 1 MEXTTOUT Master SCL Low Extend Timeout 8 1 PERR Parity Error 0 1 RXNACK Received Not Acknowledge 2 1 read-only SEXTTOUT Slave SCL Low Extend Timeout 9 1 SR Repeated Start 4 1 read-only SYNCBUSY SPI Synchronization Busy 0x1C 32 read-only n 0x0 0x0 CTRLB CTRLB Synchronization Busy 2 1 read-only ENABLE SERCOM Enable Synchronization Busy 1 1 read-only SWRST Software Reset Synchronization Busy 0 1 read-only SYSOP System Operation Synchronization Busy 2 1 read-only SERCOM1 Serial Communication Interface 1 SERCOM 0x0 0x0 0x40 registers n SERCOM1 10 SERCOM1_INTREQ 10 ADDR I2CS Address 0x24 32 read-write n 0x0 0x0 ADDR Address Value 0 8 ADDRMASK Address Mask 16 8 GENCEN General Call Address Enable 0 1 HS High Speed Mode 14 1 LEN Length 16 8 LENEN Length Enable 13 1 TENBITEN Ten Bit Addressing Enable 15 1 BAUD SPI Baud Rate 0xC 8 read-write n 0x0 0x0 BAUD Baud Rate Value 0 16 BAUDLOW Baud Rate Value Low 8 8 HSBAUD High Speed Baud Rate Value 16 8 HSBAUDLOW High Speed Baud Rate Value Low 24 8 BAUD_FRACFP_MODE USART Baud Rate BAUD 0xC 16 read-write n 0x0 0x0 BAUD Baud Rate Value 0 13 FP Fractional Part 13 3 BAUD_FRAC_MODE USART Baud Rate BAUD 0xC 16 read-write n 0x0 0x0 BAUD Baud Rate Value 0 13 FP Fractional Part 13 3 BAUD_USARTFP_MODE USART Baud Rate BAUD 0xC 16 read-write n 0x0 0x0 BAUD Baud Rate Value 0 16 CTRLA SPI Control A 0x0 32 read-write n 0x0 0x0 CMODE Communication Mode 28 1 CPHA Clock Phase 28 1 CPOL Clock Polarity 29 1 DIPO Data In Pinout 20 2 DOPO Data Out Pinout 16 2 DORD Data Order 30 1 ENABLE Enable 1 1 FORM Frame Format 24 4 IBON Immediate Buffer Overflow Notification 8 1 INACTOUT Inactive Time-Out 28 2 LOWTOUTEN SCL Low Timeout Enable 30 1 MEXTTOEN Master SCL Low Extend Timeout 22 1 MODE Operating Mode 2 3 MODESelect USART_EXT_CLK USART mode with external clock 0x0 USART_INT_CLK USART mode with internal clock 0x1 SPI_SLAVE SPI mode with external clock 0x2 SPI_MASTER SPI mode with internal clock 0x3 I2C_SLAVE I2C mode with external clock 0x4 I2C_MASTER I2C mode with internal clock 0x5 PINOUT Pin Usage 16 1 RUNSTDBY Run during Standby 7 1 RXPO Receive Data Pinout 20 2 SAMPA Sample Adjustment 22 2 SAMPR Sample 13 3 SCLSM SCL Clock Stretch Mode 27 1 SDAHOLD SDA Hold Time 20 2 SEXTTOEN Slave SCL Low Extend Timeout 23 1 SPEED Transfer Speed 24 2 SWRST Software Reset 0 1 TXPO Transmit Data Pinout 16 2 CTRLB SPI Control B 0x4 32 read-write n 0x0 0x0 AACKEN Automatic Address Acknowledge 10 1 ACKACT Acknowledge Action 18 1 AMODE Address Mode 14 2 CHSIZE Character Size 0 3 CMD Command 16 2 write-only COLDEN Collision Detection Enable 8 1 ENC Encoding Format 10 1 GCMD PMBus Group Command 9 1 MSSEN Master Slave Select Enable 13 1 PLOADEN Data Preload Enable 6 1 PMODE Parity Mode 13 1 QCEN Quick Command Enable 9 1 RXEN Receiver Enable 17 1 SBMODE Stop Bit Mode 6 1 SFDE Start of Frame Detection Enable 9 1 SMEN Smart Mode Enable 8 1 SSDE Slave Select Low Detect Enable 9 1 TXEN Transmitter Enable 16 1 DATA SPI Data 0x28 32 read-write n 0x0 0x0 DATA Data Value 0 9 DBGCTRL SPI Debug Control 0x30 8 read-write n 0x0 0x0 DBGSTOP Debug Mode 0 1 INTENCLR SPI Interrupt Enable Clear 0x14 8 read-write n 0x0 0x0 AMATCH Address Match Interrupt Disable 1 1 CTSIC Clear To Send Input Change Interrupt Disable 4 1 DRDY Data Interrupt Disable 2 1 DRE Data Register Empty Interrupt Disable 0 1 ERROR Combined Error Interrupt Disable 7 1 MB Master On Bus Interrupt Disable 0 1 PREC Stop Received Interrupt Disable 0 1 RXBRK Break Received Interrupt Disable 5 1 RXC Receive Complete Interrupt Disable 2 1 RXS Receive Start Interrupt Disable 3 1 SB Slave On Bus Interrupt Disable 1 1 SSL Slave Select Low Interrupt Disable 3 1 TXC Transmit Complete Interrupt Disable 1 1 INTENSET SPI Interrupt Enable Set 0x16 8 read-write n 0x0 0x0 AMATCH Address Match Interrupt Enable 1 1 CTSIC Clear To Send Input Change Interrupt Enable 4 1 DRDY Data Interrupt Enable 2 1 DRE Data Register Empty Interrupt Enable 0 1 ERROR Combined Error Interrupt Enable 7 1 MB Master On Bus Interrupt Enable 0 1 PREC Stop Received Interrupt Enable 0 1 RXBRK Break Received Interrupt Enable 5 1 RXC Receive Complete Interrupt Enable 2 1 RXS Receive Start Interrupt Enable 3 1 SB Slave On Bus Interrupt Enable 1 1 SSL Slave Select Low Interrupt Enable 3 1 TXC Transmit Complete Interrupt Enable 1 1 INTFLAG SPI Interrupt Flag Status and Clear 0x18 8 read-write n 0x0 0x0 AMATCH Address Match Interrupt 1 1 CTSIC Clear To Send Input Change Interrupt 4 1 DRDY Data Interrupt 2 1 DRE Data Register Empty Interrupt 0 1 read-only ERROR Combined Error Interrupt 7 1 MB Master On Bus Interrupt 0 1 PREC Stop Received Interrupt 0 1 RXBRK Break Received Interrupt 5 1 RXC Receive Complete Interrupt 2 1 read-only RXS Receive Start Interrupt 3 1 write-only SB Slave On Bus Interrupt 1 1 SSL Slave Select Low Interrupt Flag 3 1 TXC Transmit Complete Interrupt 1 1 RXPL USART Receive Pulse Length 0xE 8 read-write n 0x0 0x0 RXPL Receive Pulse Length 0 8 SERCOM_I2CM - ADDR I2C Master Mode - - I2CM Address 0x24 32 read-write n 0x0 0x0 ADDR Address Value 0 11 HS High Speed Mode 14 1 LEN Length 16 8 LENEN Length Enable 13 1 TENBITEN Ten Bit Addressing Enable 15 1 SERCOM_I2CM - BAUD I2C Master Mode - - I2CM Baud Rate 0xC 32 read-write n 0x0 0x0 BAUD Baud Rate Value 0 8 BAUDLOW Baud Rate Value Low 8 8 HSBAUD High Speed Baud Rate Value 16 8 HSBAUDLOW High Speed Baud Rate Value Low 24 8 SERCOM_I2CM - CTRLA I2C Master Mode - - I2CM Control A 0x0 32 read-write n 0x0 0x0 ENABLE Enable 1 1 INACTOUT Inactive Time-Out 28 2 LOWTOUTEN SCL Low Timeout Enable 30 1 MEXTTOEN Master SCL Low Extend Timeout 22 1 MODE Operating Mode 2 3 MODESelect USART_EXT_CLK USART mode with external clock 0x0 USART_INT_CLK USART mode with internal clock 0x1 SPI_SLAVE SPI mode with external clock 0x2 SPI_MASTER SPI mode with internal clock 0x3 I2C_SLAVE I2C mode with external clock 0x4 I2C_MASTER I2C mode with internal clock 0x5 PINOUT Pin Usage 16 1 RUNSTDBY Run in Standby 7 1 SCLSM SCL Clock Stretch Mode 27 1 SDAHOLD SDA Hold Time 20 2 SEXTTOEN Slave SCL Low Extend Timeout 23 1 SPEED Transfer Speed 24 2 SWRST Software Reset 0 1 SERCOM_I2CM - CTRLB I2C Master Mode - - I2CM Control B 0x4 32 read-write n 0x0 0x0 ACKACT Acknowledge Action 18 1 CMD Command 16 2 write-only QCEN Quick Command Enable 9 1 SMEN Smart Mode Enable 8 1 SERCOM_I2CM - DATA I2C Master Mode - - I2CM Data 0x28 8 read-write n 0x0 0x0 DATA Data Value 0 8 SERCOM_I2CM - DBGCTRL I2C Master Mode - - I2CM Debug Control 0x30 8 read-write n 0x0 0x0 DBGSTOP Debug Mode 0 1 SERCOM_I2CM - INTENCLR I2C Master Mode - - I2CM Interrupt Enable Clear 0x14 8 read-write n 0x0 0x0 ERROR Combined Error Interrupt Disable 7 1 MB Master On Bus Interrupt Disable 0 1 SB Slave On Bus Interrupt Disable 1 1 SERCOM_I2CM - INTENSET I2C Master Mode - - I2CM Interrupt Enable Set 0x16 8 read-write n 0x0 0x0 ERROR Combined Error Interrupt Enable 7 1 MB Master On Bus Interrupt Enable 0 1 SB Slave On Bus Interrupt Enable 1 1 SERCOM_I2CM - INTFLAG I2C Master Mode - - I2CM Interrupt Flag Status and Clear 0x18 8 read-write n 0x0 0x0 ERROR Combined Error Interrupt 7 1 MB Master On Bus Interrupt 0 1 SB Slave On Bus Interrupt 1 1 SERCOM_I2CM - STATUS I2C Master Mode - - I2CM Status 0x1A 16 read-write n 0x0 0x0 ARBLOST Arbitration Lost 1 1 BUSERR Bus Error 0 1 BUSSTATE Bus State 4 2 CLKHOLD Clock Hold 7 1 read-only LENERR Length Error 10 1 LOWTOUT SCL Low Timeout 6 1 MEXTTOUT Master SCL Low Extend Timeout 8 1 RXNACK Received Not Acknowledge 2 1 read-only SEXTTOUT Slave SCL Low Extend Timeout 9 1 SERCOM_I2CM - SYNCBUSY I2C Master Mode - - I2CM Synchronization Busy 0x1C 32 read-only n 0x0 0x0 ENABLE SERCOM Enable Synchronization Busy 1 1 read-only SWRST Software Reset Synchronization Busy 0 1 read-only SYSOP System Operation Synchronization Busy 2 1 read-only SERCOM_I2CS - ADDR I2C Slave Mode - - I2CS Address 0x24 32 read-write n 0x0 0x0 ADDR Address Value 1 10 ADDRMASK Address Mask 17 10 GENCEN General Call Address Enable 0 1 TENBITEN Ten Bit Addressing Enable 15 1 SERCOM_I2CS - CTRLA I2C Slave Mode - - I2CS Control A 0x0 32 read-write n 0x0 0x0 ENABLE Enable 1 1 LOWTOUTEN SCL Low Timeout Enable 30 1 MODE Operating Mode 2 3 MODESelect USART_EXT_CLK USART mode with external clock 0x0 USART_INT_CLK USART mode with internal clock 0x1 SPI_SLAVE SPI mode with external clock 0x2 SPI_MASTER SPI mode with internal clock 0x3 I2C_SLAVE I2C mode with external clock 0x4 I2C_MASTER I2C mode with internal clock 0x5 PINOUT Pin Usage 16 1 RUNSTDBY Run during Standby 7 1 SCLSM SCL Clock Stretch Mode 27 1 SDAHOLD SDA Hold Time 20 2 SEXTTOEN Slave SCL Low Extend Timeout 23 1 SPEED Transfer Speed 24 2 SWRST Software Reset 0 1 SERCOM_I2CS - CTRLB I2C Slave Mode - - I2CS Control B 0x4 32 read-write n 0x0 0x0 AACKEN Automatic Address Acknowledge 10 1 ACKACT Acknowledge Action 18 1 AMODE Address Mode 14 2 CMD Command 16 2 write-only GCMD PMBus Group Command 9 1 SMEN Smart Mode Enable 8 1 SERCOM_I2CS - DATA I2C Slave Mode - - I2CS Data 0x28 8 read-write n 0x0 0x0 DATA Data Value 0 8 SERCOM_I2CS - INTENCLR I2C Slave Mode - - I2CS Interrupt Enable Clear 0x14 8 read-write n 0x0 0x0 AMATCH Address Match Interrupt Disable 1 1 DRDY Data Interrupt Disable 2 1 ERROR Combined Error Interrupt Disable 7 1 PREC Stop Received Interrupt Disable 0 1 SERCOM_I2CS - INTENSET I2C Slave Mode - - I2CS Interrupt Enable Set 0x16 8 read-write n 0x0 0x0 AMATCH Address Match Interrupt Enable 1 1 DRDY Data Interrupt Enable 2 1 ERROR Combined Error Interrupt Enable 7 1 PREC Stop Received Interrupt Enable 0 1 SERCOM_I2CS - INTFLAG I2C Slave Mode - - I2CS Interrupt Flag Status and Clear 0x18 8 read-write n 0x0 0x0 AMATCH Address Match Interrupt 1 1 DRDY Data Interrupt 2 1 ERROR Combined Error Interrupt 7 1 PREC Stop Received Interrupt 0 1 SERCOM_I2CS - STATUS I2C Slave Mode - - I2CS Status 0x1A 16 read-write n 0x0 0x0 BUSERR Bus Error 0 1 CLKHOLD Clock Hold 7 1 read-only COLL Transmit Collision 1 1 DIR Read/Write Direction 3 1 read-only HS High Speed 10 1 LOWTOUT SCL Low Timeout 6 1 RXNACK Received Not Acknowledge 2 1 read-only SEXTTOUT Slave SCL Low Extend Timeout 9 1 SR Repeated Start 4 1 read-only SERCOM_I2CS - SYNCBUSY I2C Slave Mode - - I2CS Synchronization Busy 0x1C 32 read-only n 0x0 0x0 ENABLE SERCOM Enable Synchronization Busy 1 1 read-only SWRST Software Reset Synchronization Busy 0 1 read-only SERCOM_SPI - ADDR SPI Mode - - SPI Address 0x24 32 read-write n 0x0 0x0 ADDR Address Value 0 8 ADDRMASK Address Mask 16 8 SERCOM_SPI - BAUD SPI Mode - - SPI Baud Rate 0xC 8 read-write n 0x0 0x0 BAUD Baud Rate Value 0 8 SERCOM_SPI - CTRLA SPI Mode - - SPI Control A 0x0 32 read-write n 0x0 0x0 CPHA Clock Phase 28 1 CPOL Clock Polarity 29 1 DIPO Data In Pinout 20 2 DOPO Data Out Pinout 16 2 DORD Data Order 30 1 ENABLE Enable 1 1 FORM Frame Format 24 4 IBON Immediate Buffer Overflow Notification 8 1 MODE Operating Mode 2 3 MODESelect USART_EXT_CLK USART mode with external clock 0x0 USART_INT_CLK USART mode with internal clock 0x1 SPI_SLAVE SPI mode with external clock 0x2 SPI_MASTER SPI mode with internal clock 0x3 I2C_SLAVE I2C mode with external clock 0x4 I2C_MASTER I2C mode with internal clock 0x5 RUNSTDBY Run during Standby 7 1 SWRST Software Reset 0 1 SERCOM_SPI - CTRLB SPI Mode - - SPI Control B 0x4 32 read-write n 0x0 0x0 AMODE Address Mode 14 2 CHSIZE Character Size 0 3 MSSEN Master Slave Select Enable 13 1 PLOADEN Data Preload Enable 6 1 RXEN Receiver Enable 17 1 SSDE Slave Select Low Detect Enable 9 1 SERCOM_SPI - DATA SPI Mode - - SPI Data 0x28 32 read-write n 0x0 0x0 DATA Data Value 0 9 SERCOM_SPI - DBGCTRL SPI Mode - - SPI Debug Control 0x30 8 read-write n 0x0 0x0 DBGSTOP Debug Mode 0 1 SERCOM_SPI - INTENCLR SPI Mode - - SPI Interrupt Enable Clear 0x14 8 read-write n 0x0 0x0 DRE Data Register Empty Interrupt Disable 0 1 ERROR Combined Error Interrupt Disable 7 1 RXC Receive Complete Interrupt Disable 2 1 SSL Slave Select Low Interrupt Disable 3 1 TXC Transmit Complete Interrupt Disable 1 1 SERCOM_SPI - INTENSET SPI Mode - - SPI Interrupt Enable Set 0x16 8 read-write n 0x0 0x0 DRE Data Register Empty Interrupt Enable 0 1 ERROR Combined Error Interrupt Enable 7 1 RXC Receive Complete Interrupt Enable 2 1 SSL Slave Select Low Interrupt Enable 3 1 TXC Transmit Complete Interrupt Enable 1 1 SERCOM_SPI - INTFLAG SPI Mode - - SPI Interrupt Flag Status and Clear 0x18 8 read-write n 0x0 0x0 DRE Data Register Empty Interrupt 0 1 read-only ERROR Combined Error Interrupt 7 1 RXC Receive Complete Interrupt 2 1 read-only SSL Slave Select Low Interrupt Flag 3 1 TXC Transmit Complete Interrupt 1 1 SERCOM_SPI - STATUS SPI Mode - - SPI Status 0x1A 16 read-write n 0x0 0x0 BUFOVF Buffer Overflow 2 1 SERCOM_SPI - SYNCBUSY SPI Mode - - SPI Synchronization Busy 0x1C 32 read-only n 0x0 0x0 CTRLB CTRLB Synchronization Busy 2 1 read-only ENABLE SERCOM Enable Synchronization Busy 1 1 read-only SWRST Software Reset Synchronization Busy 0 1 read-only SERCOM_USART - BAUD USART Mode - - USART Baud Rate 0xC 16 read-write n 0x0 0x0 BAUD Baud Rate Value 0 16 SERCOM_USART - BAUD_FRACFP_MODE USART Mode - - USART Baud Rate BAUD 0xC 16 read-write n 0x0 0x0 BAUD Baud Rate Value 0 13 FP Fractional Part 13 3 SERCOM_USART - BAUD_FRAC_MODE USART Mode - - USART Baud Rate BAUD 0xC 16 read-write n 0x0 0x0 BAUD Baud Rate Value 0 13 FP Fractional Part 13 3 SERCOM_USART - BAUD_USARTFP_MODE USART Mode - - USART Baud Rate BAUD 0xC 16 read-write n 0x0 0x0 BAUD Baud Rate Value 0 16 SERCOM_USART - CTRLA USART Mode - - USART Control A 0x0 32 read-write n 0x0 0x0 CMODE Communication Mode 28 1 CPOL Clock Polarity 29 1 DORD Data Order 30 1 ENABLE Enable 1 1 FORM Frame Format 24 4 IBON Immediate Buffer Overflow Notification 8 1 MODE Operating Mode 2 3 MODESelect USART_EXT_CLK USART mode with external clock 0x0 USART_INT_CLK USART mode with internal clock 0x1 SPI_SLAVE SPI mode with external clock 0x2 SPI_MASTER SPI mode with internal clock 0x3 I2C_SLAVE I2C mode with external clock 0x4 I2C_MASTER I2C mode with internal clock 0x5 RUNSTDBY Run during Standby 7 1 RXPO Receive Data Pinout 20 2 SAMPA Sample Adjustment 22 2 SAMPR Sample 13 3 SWRST Software Reset 0 1 TXPO Transmit Data Pinout 16 2 SERCOM_USART - CTRLB USART Mode - - USART Control B 0x4 32 read-write n 0x0 0x0 CHSIZE Character Size 0 3 COLDEN Collision Detection Enable 8 1 ENC Encoding Format 10 1 PMODE Parity Mode 13 1 RXEN Receiver Enable 17 1 SBMODE Stop Bit Mode 6 1 SFDE Start of Frame Detection Enable 9 1 TXEN Transmitter Enable 16 1 SERCOM_USART - DATA USART Mode - - USART Data 0x28 16 read-write n 0x0 0x0 DATA Data Value 0 9 SERCOM_USART - DBGCTRL USART Mode - - USART Debug Control 0x30 8 read-write n 0x0 0x0 DBGSTOP Debug Mode 0 1 SERCOM_USART - INTENCLR USART Mode - - USART Interrupt Enable Clear 0x14 8 read-write n 0x0 0x0 CTSIC Clear To Send Input Change Interrupt Disable 4 1 DRE Data Register Empty Interrupt Disable 0 1 ERROR Combined Error Interrupt Disable 7 1 RXBRK Break Received Interrupt Disable 5 1 RXC Receive Complete Interrupt Disable 2 1 RXS Receive Start Interrupt Disable 3 1 TXC Transmit Complete Interrupt Disable 1 1 SERCOM_USART - INTENSET USART Mode - - USART Interrupt Enable Set 0x16 8 read-write n 0x0 0x0 CTSIC Clear To Send Input Change Interrupt Enable 4 1 DRE Data Register Empty Interrupt Enable 0 1 ERROR Combined Error Interrupt Enable 7 1 RXBRK Break Received Interrupt Enable 5 1 RXC Receive Complete Interrupt Enable 2 1 RXS Receive Start Interrupt Enable 3 1 TXC Transmit Complete Interrupt Enable 1 1 SERCOM_USART - INTFLAG USART Mode - - USART Interrupt Flag Status and Clear 0x18 8 read-write n 0x0 0x0 CTSIC Clear To Send Input Change Interrupt 4 1 DRE Data Register Empty Interrupt 0 1 read-only ERROR Combined Error Interrupt 7 1 RXBRK Break Received Interrupt 5 1 RXC Receive Complete Interrupt 2 1 read-only RXS Receive Start Interrupt 3 1 write-only TXC Transmit Complete Interrupt 1 1 SERCOM_USART - RXPL USART Mode - - USART Receive Pulse Length 0xE 8 read-write n 0x0 0x0 RXPL Receive Pulse Length 0 8 SERCOM_USART - STATUS USART Mode - - USART Status 0x1A 16 read-write n 0x0 0x0 BUFOVF Buffer Overflow 2 1 COLL Collision Detected 5 1 CTS Clear To Send 3 1 read-only FERR Frame Error 1 1 ISF Inconsistent Sync Field 4 1 PERR Parity Error 0 1 SERCOM_USART - SYNCBUSY USART Mode - - USART Synchronization Busy 0x1C 32 read-only n 0x0 0x0 CTRLB CTRLB Synchronization Busy 2 1 read-only ENABLE SERCOM Enable Synchronization Busy 1 1 read-only SWRST Software Reset Synchronization Busy 0 1 read-only STATUS SPI Status 0x1A 16 read-write n 0x0 0x0 ARBLOST Arbitration Lost 1 1 BUFOVF Buffer Overflow 2 1 BUSERR Bus Error 0 1 BUSSTATE Bus State 4 2 CLKHOLD Clock Hold 7 1 read-only COLL Collision Detected 5 1 CTS Clear To Send 3 1 read-only DIR Read/Write Direction 3 1 read-only FERR Frame Error 1 1 HS High Speed 10 1 ISF Inconsistent Sync Field 4 1 LENERR Length Error 10 1 LOWTOUT SCL Low Timeout 6 1 MEXTTOUT Master SCL Low Extend Timeout 8 1 PERR Parity Error 0 1 RXNACK Received Not Acknowledge 2 1 read-only SEXTTOUT Slave SCL Low Extend Timeout 9 1 SR Repeated Start 4 1 read-only SYNCBUSY SPI Synchronization Busy 0x1C 32 read-only n 0x0 0x0 CTRLB CTRLB Synchronization Busy 2 1 read-only ENABLE SERCOM Enable Synchronization Busy 1 1 read-only SWRST Software Reset Synchronization Busy 0 1 read-only SYSOP System Operation Synchronization Busy 2 1 read-only SERCOM2 Serial Communication Interface 2 SERCOM 0x0 0x0 0x40 registers n SERCOM2 11 SERCOM2_INTREQ 11 ADDR I2CS Address 0x24 32 read-write n 0x0 0x0 ADDR Address Value 0 8 ADDRMASK Address Mask 16 8 GENCEN General Call Address Enable 0 1 HS High Speed Mode 14 1 LEN Length 16 8 LENEN Length Enable 13 1 TENBITEN Ten Bit Addressing Enable 15 1 BAUD SPI Baud Rate 0xC 8 read-write n 0x0 0x0 BAUD Baud Rate Value 0 16 BAUDLOW Baud Rate Value Low 8 8 HSBAUD High Speed Baud Rate Value 16 8 HSBAUDLOW High Speed Baud Rate Value Low 24 8 BAUD_FRACFP_MODE USART Baud Rate BAUD 0xC 16 read-write n 0x0 0x0 BAUD Baud Rate Value 0 13 FP Fractional Part 13 3 BAUD_FRAC_MODE USART Baud Rate BAUD 0xC 16 read-write n 0x0 0x0 BAUD Baud Rate Value 0 13 FP Fractional Part 13 3 BAUD_USARTFP_MODE USART Baud Rate BAUD 0xC 16 read-write n 0x0 0x0 BAUD Baud Rate Value 0 16 CTRLA SPI Control A 0x0 32 read-write n 0x0 0x0 CMODE Communication Mode 28 1 CPHA Clock Phase 28 1 CPOL Clock Polarity 29 1 DIPO Data In Pinout 20 2 DOPO Data Out Pinout 16 2 DORD Data Order 30 1 ENABLE Enable 1 1 FORM Frame Format 24 4 IBON Immediate Buffer Overflow Notification 8 1 INACTOUT Inactive Time-Out 28 2 LOWTOUTEN SCL Low Timeout Enable 30 1 MEXTTOEN Master SCL Low Extend Timeout 22 1 MODE Operating Mode 2 3 MODESelect USART_EXT_CLK USART mode with external clock 0x0 USART_INT_CLK USART mode with internal clock 0x1 SPI_SLAVE SPI mode with external clock 0x2 SPI_MASTER SPI mode with internal clock 0x3 I2C_SLAVE I2C mode with external clock 0x4 I2C_MASTER I2C mode with internal clock 0x5 PINOUT Pin Usage 16 1 RUNSTDBY Run during Standby 7 1 RXPO Receive Data Pinout 20 2 SAMPA Sample Adjustment 22 2 SAMPR Sample 13 3 SCLSM SCL Clock Stretch Mode 27 1 SDAHOLD SDA Hold Time 20 2 SEXTTOEN Slave SCL Low Extend Timeout 23 1 SPEED Transfer Speed 24 2 SWRST Software Reset 0 1 TXPO Transmit Data Pinout 16 2 CTRLB SPI Control B 0x4 32 read-write n 0x0 0x0 AACKEN Automatic Address Acknowledge 10 1 ACKACT Acknowledge Action 18 1 AMODE Address Mode 14 2 CHSIZE Character Size 0 3 CMD Command 16 2 write-only COLDEN Collision Detection Enable 8 1 ENC Encoding Format 10 1 GCMD PMBus Group Command 9 1 MSSEN Master Slave Select Enable 13 1 PLOADEN Data Preload Enable 6 1 PMODE Parity Mode 13 1 QCEN Quick Command Enable 9 1 RXEN Receiver Enable 17 1 SBMODE Stop Bit Mode 6 1 SFDE Start of Frame Detection Enable 9 1 SMEN Smart Mode Enable 8 1 SSDE Slave Select Low Detect Enable 9 1 TXEN Transmitter Enable 16 1 DATA SPI Data 0x28 32 read-write n 0x0 0x0 DATA Data Value 0 9 DBGCTRL SPI Debug Control 0x30 8 read-write n 0x0 0x0 DBGSTOP Debug Mode 0 1 INTENCLR SPI Interrupt Enable Clear 0x14 8 read-write n 0x0 0x0 AMATCH Address Match Interrupt Disable 1 1 CTSIC Clear To Send Input Change Interrupt Disable 4 1 DRDY Data Interrupt Disable 2 1 DRE Data Register Empty Interrupt Disable 0 1 ERROR Combined Error Interrupt Disable 7 1 MB Master On Bus Interrupt Disable 0 1 PREC Stop Received Interrupt Disable 0 1 RXBRK Break Received Interrupt Disable 5 1 RXC Receive Complete Interrupt Disable 2 1 RXS Receive Start Interrupt Disable 3 1 SB Slave On Bus Interrupt Disable 1 1 SSL Slave Select Low Interrupt Disable 3 1 TXC Transmit Complete Interrupt Disable 1 1 INTENSET SPI Interrupt Enable Set 0x16 8 read-write n 0x0 0x0 AMATCH Address Match Interrupt Enable 1 1 CTSIC Clear To Send Input Change Interrupt Enable 4 1 DRDY Data Interrupt Enable 2 1 DRE Data Register Empty Interrupt Enable 0 1 ERROR Combined Error Interrupt Enable 7 1 MB Master On Bus Interrupt Enable 0 1 PREC Stop Received Interrupt Enable 0 1 RXBRK Break Received Interrupt Enable 5 1 RXC Receive Complete Interrupt Enable 2 1 RXS Receive Start Interrupt Enable 3 1 SB Slave On Bus Interrupt Enable 1 1 SSL Slave Select Low Interrupt Enable 3 1 TXC Transmit Complete Interrupt Enable 1 1 INTFLAG SPI Interrupt Flag Status and Clear 0x18 8 read-write n 0x0 0x0 AMATCH Address Match Interrupt 1 1 CTSIC Clear To Send Input Change Interrupt 4 1 DRDY Data Interrupt 2 1 DRE Data Register Empty Interrupt 0 1 read-only ERROR Combined Error Interrupt 7 1 MB Master On Bus Interrupt 0 1 PREC Stop Received Interrupt 0 1 RXBRK Break Received Interrupt 5 1 RXC Receive Complete Interrupt 2 1 read-only RXS Receive Start Interrupt 3 1 write-only SB Slave On Bus Interrupt 1 1 SSL Slave Select Low Interrupt Flag 3 1 TXC Transmit Complete Interrupt 1 1 RXPL USART Receive Pulse Length 0xE 8 read-write n 0x0 0x0 RXPL Receive Pulse Length 0 8 SERCOM_I2CM - ADDR I2C Master Mode - - I2CM Address 0x24 32 read-write n 0x0 0x0 ADDR Address Value 0 11 HS High Speed Mode 14 1 LEN Length 16 8 LENEN Length Enable 13 1 TENBITEN Ten Bit Addressing Enable 15 1 SERCOM_I2CM - BAUD I2C Master Mode - - I2CM Baud Rate 0xC 32 read-write n 0x0 0x0 BAUD Baud Rate Value 0 8 BAUDLOW Baud Rate Value Low 8 8 HSBAUD High Speed Baud Rate Value 16 8 HSBAUDLOW High Speed Baud Rate Value Low 24 8 SERCOM_I2CM - CTRLA I2C Master Mode - - I2CM Control A 0x0 32 read-write n 0x0 0x0 ENABLE Enable 1 1 INACTOUT Inactive Time-Out 28 2 LOWTOUTEN SCL Low Timeout Enable 30 1 MEXTTOEN Master SCL Low Extend Timeout 22 1 MODE Operating Mode 2 3 MODESelect USART_EXT_CLK USART mode with external clock 0x0 USART_INT_CLK USART mode with internal clock 0x1 SPI_SLAVE SPI mode with external clock 0x2 SPI_MASTER SPI mode with internal clock 0x3 I2C_SLAVE I2C mode with external clock 0x4 I2C_MASTER I2C mode with internal clock 0x5 PINOUT Pin Usage 16 1 RUNSTDBY Run in Standby 7 1 SCLSM SCL Clock Stretch Mode 27 1 SDAHOLD SDA Hold Time 20 2 SEXTTOEN Slave SCL Low Extend Timeout 23 1 SPEED Transfer Speed 24 2 SWRST Software Reset 0 1 SERCOM_I2CM - CTRLB I2C Master Mode - - I2CM Control B 0x4 32 read-write n 0x0 0x0 ACKACT Acknowledge Action 18 1 CMD Command 16 2 write-only QCEN Quick Command Enable 9 1 SMEN Smart Mode Enable 8 1 SERCOM_I2CM - DATA I2C Master Mode - - I2CM Data 0x28 8 read-write n 0x0 0x0 DATA Data Value 0 8 SERCOM_I2CM - DBGCTRL I2C Master Mode - - I2CM Debug Control 0x30 8 read-write n 0x0 0x0 DBGSTOP Debug Mode 0 1 SERCOM_I2CM - INTENCLR I2C Master Mode - - I2CM Interrupt Enable Clear 0x14 8 read-write n 0x0 0x0 ERROR Combined Error Interrupt Disable 7 1 MB Master On Bus Interrupt Disable 0 1 SB Slave On Bus Interrupt Disable 1 1 SERCOM_I2CM - INTENSET I2C Master Mode - - I2CM Interrupt Enable Set 0x16 8 read-write n 0x0 0x0 ERROR Combined Error Interrupt Enable 7 1 MB Master On Bus Interrupt Enable 0 1 SB Slave On Bus Interrupt Enable 1 1 SERCOM_I2CM - INTFLAG I2C Master Mode - - I2CM Interrupt Flag Status and Clear 0x18 8 read-write n 0x0 0x0 ERROR Combined Error Interrupt 7 1 MB Master On Bus Interrupt 0 1 SB Slave On Bus Interrupt 1 1 SERCOM_I2CM - STATUS I2C Master Mode - - I2CM Status 0x1A 16 read-write n 0x0 0x0 ARBLOST Arbitration Lost 1 1 BUSERR Bus Error 0 1 BUSSTATE Bus State 4 2 CLKHOLD Clock Hold 7 1 read-only LENERR Length Error 10 1 LOWTOUT SCL Low Timeout 6 1 MEXTTOUT Master SCL Low Extend Timeout 8 1 RXNACK Received Not Acknowledge 2 1 read-only SEXTTOUT Slave SCL Low Extend Timeout 9 1 SERCOM_I2CM - SYNCBUSY I2C Master Mode - - I2CM Synchronization Busy 0x1C 32 read-only n 0x0 0x0 ENABLE SERCOM Enable Synchronization Busy 1 1 read-only SWRST Software Reset Synchronization Busy 0 1 read-only SYSOP System Operation Synchronization Busy 2 1 read-only SERCOM_I2CS - ADDR I2C Slave Mode - - I2CS Address 0x24 32 read-write n 0x0 0x0 ADDR Address Value 1 10 ADDRMASK Address Mask 17 10 GENCEN General Call Address Enable 0 1 TENBITEN Ten Bit Addressing Enable 15 1 SERCOM_I2CS - CTRLA I2C Slave Mode - - I2CS Control A 0x0 32 read-write n 0x0 0x0 ENABLE Enable 1 1 LOWTOUTEN SCL Low Timeout Enable 30 1 MODE Operating Mode 2 3 MODESelect USART_EXT_CLK USART mode with external clock 0x0 USART_INT_CLK USART mode with internal clock 0x1 SPI_SLAVE SPI mode with external clock 0x2 SPI_MASTER SPI mode with internal clock 0x3 I2C_SLAVE I2C mode with external clock 0x4 I2C_MASTER I2C mode with internal clock 0x5 PINOUT Pin Usage 16 1 RUNSTDBY Run during Standby 7 1 SCLSM SCL Clock Stretch Mode 27 1 SDAHOLD SDA Hold Time 20 2 SEXTTOEN Slave SCL Low Extend Timeout 23 1 SPEED Transfer Speed 24 2 SWRST Software Reset 0 1 SERCOM_I2CS - CTRLB I2C Slave Mode - - I2CS Control B 0x4 32 read-write n 0x0 0x0 AACKEN Automatic Address Acknowledge 10 1 ACKACT Acknowledge Action 18 1 AMODE Address Mode 14 2 CMD Command 16 2 write-only GCMD PMBus Group Command 9 1 SMEN Smart Mode Enable 8 1 SERCOM_I2CS - DATA I2C Slave Mode - - I2CS Data 0x28 8 read-write n 0x0 0x0 DATA Data Value 0 8 SERCOM_I2CS - INTENCLR I2C Slave Mode - - I2CS Interrupt Enable Clear 0x14 8 read-write n 0x0 0x0 AMATCH Address Match Interrupt Disable 1 1 DRDY Data Interrupt Disable 2 1 ERROR Combined Error Interrupt Disable 7 1 PREC Stop Received Interrupt Disable 0 1 SERCOM_I2CS - INTENSET I2C Slave Mode - - I2CS Interrupt Enable Set 0x16 8 read-write n 0x0 0x0 AMATCH Address Match Interrupt Enable 1 1 DRDY Data Interrupt Enable 2 1 ERROR Combined Error Interrupt Enable 7 1 PREC Stop Received Interrupt Enable 0 1 SERCOM_I2CS - INTFLAG I2C Slave Mode - - I2CS Interrupt Flag Status and Clear 0x18 8 read-write n 0x0 0x0 AMATCH Address Match Interrupt 1 1 DRDY Data Interrupt 2 1 ERROR Combined Error Interrupt 7 1 PREC Stop Received Interrupt 0 1 SERCOM_I2CS - STATUS I2C Slave Mode - - I2CS Status 0x1A 16 read-write n 0x0 0x0 BUSERR Bus Error 0 1 CLKHOLD Clock Hold 7 1 read-only COLL Transmit Collision 1 1 DIR Read/Write Direction 3 1 read-only HS High Speed 10 1 LOWTOUT SCL Low Timeout 6 1 RXNACK Received Not Acknowledge 2 1 read-only SEXTTOUT Slave SCL Low Extend Timeout 9 1 SR Repeated Start 4 1 read-only SERCOM_I2CS - SYNCBUSY I2C Slave Mode - - I2CS Synchronization Busy 0x1C 32 read-only n 0x0 0x0 ENABLE SERCOM Enable Synchronization Busy 1 1 read-only SWRST Software Reset Synchronization Busy 0 1 read-only SERCOM_SPI - ADDR SPI Mode - - SPI Address 0x24 32 read-write n 0x0 0x0 ADDR Address Value 0 8 ADDRMASK Address Mask 16 8 SERCOM_SPI - BAUD SPI Mode - - SPI Baud Rate 0xC 8 read-write n 0x0 0x0 BAUD Baud Rate Value 0 8 SERCOM_SPI - CTRLA SPI Mode - - SPI Control A 0x0 32 read-write n 0x0 0x0 CPHA Clock Phase 28 1 CPOL Clock Polarity 29 1 DIPO Data In Pinout 20 2 DOPO Data Out Pinout 16 2 DORD Data Order 30 1 ENABLE Enable 1 1 FORM Frame Format 24 4 IBON Immediate Buffer Overflow Notification 8 1 MODE Operating Mode 2 3 MODESelect USART_EXT_CLK USART mode with external clock 0x0 USART_INT_CLK USART mode with internal clock 0x1 SPI_SLAVE SPI mode with external clock 0x2 SPI_MASTER SPI mode with internal clock 0x3 I2C_SLAVE I2C mode with external clock 0x4 I2C_MASTER I2C mode with internal clock 0x5 RUNSTDBY Run during Standby 7 1 SWRST Software Reset 0 1 SERCOM_SPI - CTRLB SPI Mode - - SPI Control B 0x4 32 read-write n 0x0 0x0 AMODE Address Mode 14 2 CHSIZE Character Size 0 3 MSSEN Master Slave Select Enable 13 1 PLOADEN Data Preload Enable 6 1 RXEN Receiver Enable 17 1 SSDE Slave Select Low Detect Enable 9 1 SERCOM_SPI - DATA SPI Mode - - SPI Data 0x28 32 read-write n 0x0 0x0 DATA Data Value 0 9 SERCOM_SPI - DBGCTRL SPI Mode - - SPI Debug Control 0x30 8 read-write n 0x0 0x0 DBGSTOP Debug Mode 0 1 SERCOM_SPI - INTENCLR SPI Mode - - SPI Interrupt Enable Clear 0x14 8 read-write n 0x0 0x0 DRE Data Register Empty Interrupt Disable 0 1 ERROR Combined Error Interrupt Disable 7 1 RXC Receive Complete Interrupt Disable 2 1 SSL Slave Select Low Interrupt Disable 3 1 TXC Transmit Complete Interrupt Disable 1 1 SERCOM_SPI - INTENSET SPI Mode - - SPI Interrupt Enable Set 0x16 8 read-write n 0x0 0x0 DRE Data Register Empty Interrupt Enable 0 1 ERROR Combined Error Interrupt Enable 7 1 RXC Receive Complete Interrupt Enable 2 1 SSL Slave Select Low Interrupt Enable 3 1 TXC Transmit Complete Interrupt Enable 1 1 SERCOM_SPI - INTFLAG SPI Mode - - SPI Interrupt Flag Status and Clear 0x18 8 read-write n 0x0 0x0 DRE Data Register Empty Interrupt 0 1 read-only ERROR Combined Error Interrupt 7 1 RXC Receive Complete Interrupt 2 1 read-only SSL Slave Select Low Interrupt Flag 3 1 TXC Transmit Complete Interrupt 1 1 SERCOM_SPI - STATUS SPI Mode - - SPI Status 0x1A 16 read-write n 0x0 0x0 BUFOVF Buffer Overflow 2 1 SERCOM_SPI - SYNCBUSY SPI Mode - - SPI Synchronization Busy 0x1C 32 read-only n 0x0 0x0 CTRLB CTRLB Synchronization Busy 2 1 read-only ENABLE SERCOM Enable Synchronization Busy 1 1 read-only SWRST Software Reset Synchronization Busy 0 1 read-only SERCOM_USART - BAUD USART Mode - - USART Baud Rate 0xC 16 read-write n 0x0 0x0 BAUD Baud Rate Value 0 16 SERCOM_USART - BAUD_FRACFP_MODE USART Mode - - USART Baud Rate BAUD 0xC 16 read-write n 0x0 0x0 BAUD Baud Rate Value 0 13 FP Fractional Part 13 3 SERCOM_USART - BAUD_FRAC_MODE USART Mode - - USART Baud Rate BAUD 0xC 16 read-write n 0x0 0x0 BAUD Baud Rate Value 0 13 FP Fractional Part 13 3 SERCOM_USART - BAUD_USARTFP_MODE USART Mode - - USART Baud Rate BAUD 0xC 16 read-write n 0x0 0x0 BAUD Baud Rate Value 0 16 SERCOM_USART - CTRLA USART Mode - - USART Control A 0x0 32 read-write n 0x0 0x0 CMODE Communication Mode 28 1 CPOL Clock Polarity 29 1 DORD Data Order 30 1 ENABLE Enable 1 1 FORM Frame Format 24 4 IBON Immediate Buffer Overflow Notification 8 1 MODE Operating Mode 2 3 MODESelect USART_EXT_CLK USART mode with external clock 0x0 USART_INT_CLK USART mode with internal clock 0x1 SPI_SLAVE SPI mode with external clock 0x2 SPI_MASTER SPI mode with internal clock 0x3 I2C_SLAVE I2C mode with external clock 0x4 I2C_MASTER I2C mode with internal clock 0x5 RUNSTDBY Run during Standby 7 1 RXPO Receive Data Pinout 20 2 SAMPA Sample Adjustment 22 2 SAMPR Sample 13 3 SWRST Software Reset 0 1 TXPO Transmit Data Pinout 16 2 SERCOM_USART - CTRLB USART Mode - - USART Control B 0x4 32 read-write n 0x0 0x0 CHSIZE Character Size 0 3 COLDEN Collision Detection Enable 8 1 ENC Encoding Format 10 1 PMODE Parity Mode 13 1 RXEN Receiver Enable 17 1 SBMODE Stop Bit Mode 6 1 SFDE Start of Frame Detection Enable 9 1 TXEN Transmitter Enable 16 1 SERCOM_USART - DATA USART Mode - - USART Data 0x28 16 read-write n 0x0 0x0 DATA Data Value 0 9 SERCOM_USART - DBGCTRL USART Mode - - USART Debug Control 0x30 8 read-write n 0x0 0x0 DBGSTOP Debug Mode 0 1 SERCOM_USART - INTENCLR USART Mode - - USART Interrupt Enable Clear 0x14 8 read-write n 0x0 0x0 CTSIC Clear To Send Input Change Interrupt Disable 4 1 DRE Data Register Empty Interrupt Disable 0 1 ERROR Combined Error Interrupt Disable 7 1 RXBRK Break Received Interrupt Disable 5 1 RXC Receive Complete Interrupt Disable 2 1 RXS Receive Start Interrupt Disable 3 1 TXC Transmit Complete Interrupt Disable 1 1 SERCOM_USART - INTENSET USART Mode - - USART Interrupt Enable Set 0x16 8 read-write n 0x0 0x0 CTSIC Clear To Send Input Change Interrupt Enable 4 1 DRE Data Register Empty Interrupt Enable 0 1 ERROR Combined Error Interrupt Enable 7 1 RXBRK Break Received Interrupt Enable 5 1 RXC Receive Complete Interrupt Enable 2 1 RXS Receive Start Interrupt Enable 3 1 TXC Transmit Complete Interrupt Enable 1 1 SERCOM_USART - INTFLAG USART Mode - - USART Interrupt Flag Status and Clear 0x18 8 read-write n 0x0 0x0 CTSIC Clear To Send Input Change Interrupt 4 1 DRE Data Register Empty Interrupt 0 1 read-only ERROR Combined Error Interrupt 7 1 RXBRK Break Received Interrupt 5 1 RXC Receive Complete Interrupt 2 1 read-only RXS Receive Start Interrupt 3 1 write-only TXC Transmit Complete Interrupt 1 1 SERCOM_USART - RXPL USART Mode - - USART Receive Pulse Length 0xE 8 read-write n 0x0 0x0 RXPL Receive Pulse Length 0 8 SERCOM_USART - STATUS USART Mode - - USART Status 0x1A 16 read-write n 0x0 0x0 BUFOVF Buffer Overflow 2 1 COLL Collision Detected 5 1 CTS Clear To Send 3 1 read-only FERR Frame Error 1 1 ISF Inconsistent Sync Field 4 1 PERR Parity Error 0 1 SERCOM_USART - SYNCBUSY USART Mode - - USART Synchronization Busy 0x1C 32 read-only n 0x0 0x0 CTRLB CTRLB Synchronization Busy 2 1 read-only ENABLE SERCOM Enable Synchronization Busy 1 1 read-only SWRST Software Reset Synchronization Busy 0 1 read-only STATUS SPI Status 0x1A 16 read-write n 0x0 0x0 ARBLOST Arbitration Lost 1 1 BUFOVF Buffer Overflow 2 1 BUSERR Bus Error 0 1 BUSSTATE Bus State 4 2 CLKHOLD Clock Hold 7 1 read-only COLL Collision Detected 5 1 CTS Clear To Send 3 1 read-only DIR Read/Write Direction 3 1 read-only FERR Frame Error 1 1 HS High Speed 10 1 ISF Inconsistent Sync Field 4 1 LENERR Length Error 10 1 LOWTOUT SCL Low Timeout 6 1 MEXTTOUT Master SCL Low Extend Timeout 8 1 PERR Parity Error 0 1 RXNACK Received Not Acknowledge 2 1 read-only SEXTTOUT Slave SCL Low Extend Timeout 9 1 SR Repeated Start 4 1 read-only SYNCBUSY SPI Synchronization Busy 0x1C 32 read-only n 0x0 0x0 CTRLB CTRLB Synchronization Busy 2 1 read-only ENABLE SERCOM Enable Synchronization Busy 1 1 read-only SWRST Software Reset Synchronization Busy 0 1 read-only SYSOP System Operation Synchronization Busy 2 1 read-only SERCOM3 Serial Communication Interface 3 SERCOM 0x0 0x0 0x40 registers n SERCOM3 12 SERCOM3_INTREQ 12 ADDR I2CS Address 0x24 32 read-write n 0x0 0x0 ADDR Address Value 0 8 ADDRMASK Address Mask 16 8 GENCEN General Call Address Enable 0 1 HS High Speed Mode 14 1 LEN Length 16 8 LENEN Length Enable 13 1 TENBITEN Ten Bit Addressing Enable 15 1 BAUD SPI Baud Rate 0xC 8 read-write n 0x0 0x0 BAUD Baud Rate Value 0 16 BAUDLOW Baud Rate Value Low 8 8 HSBAUD High Speed Baud Rate Value 16 8 HSBAUDLOW High Speed Baud Rate Value Low 24 8 BAUD_FRACFP_MODE USART Baud Rate BAUD 0xC 16 read-write n 0x0 0x0 BAUD Baud Rate Value 0 13 FP Fractional Part 13 3 BAUD_FRAC_MODE USART Baud Rate BAUD 0xC 16 read-write n 0x0 0x0 BAUD Baud Rate Value 0 13 FP Fractional Part 13 3 BAUD_USARTFP_MODE USART Baud Rate BAUD 0xC 16 read-write n 0x0 0x0 BAUD Baud Rate Value 0 16 CTRLA SPI Control A 0x0 32 read-write n 0x0 0x0 CMODE Communication Mode 28 1 CPHA Clock Phase 28 1 CPOL Clock Polarity 29 1 DIPO Data In Pinout 20 2 DOPO Data Out Pinout 16 2 DORD Data Order 30 1 ENABLE Enable 1 1 FORM Frame Format 24 4 IBON Immediate Buffer Overflow Notification 8 1 INACTOUT Inactive Time-Out 28 2 LOWTOUTEN SCL Low Timeout Enable 30 1 MEXTTOEN Master SCL Low Extend Timeout 22 1 MODE Operating Mode 2 3 MODESelect USART_EXT_CLK USART mode with external clock 0x0 USART_INT_CLK USART mode with internal clock 0x1 SPI_SLAVE SPI mode with external clock 0x2 SPI_MASTER SPI mode with internal clock 0x3 I2C_SLAVE I2C mode with external clock 0x4 I2C_MASTER I2C mode with internal clock 0x5 PINOUT Pin Usage 16 1 RUNSTDBY Run during Standby 7 1 RXPO Receive Data Pinout 20 2 SAMPA Sample Adjustment 22 2 SAMPR Sample 13 3 SCLSM SCL Clock Stretch Mode 27 1 SDAHOLD SDA Hold Time 20 2 SEXTTOEN Slave SCL Low Extend Timeout 23 1 SPEED Transfer Speed 24 2 SWRST Software Reset 0 1 TXPO Transmit Data Pinout 16 2 CTRLB SPI Control B 0x4 32 read-write n 0x0 0x0 AACKEN Automatic Address Acknowledge 10 1 ACKACT Acknowledge Action 18 1 AMODE Address Mode 14 2 CHSIZE Character Size 0 3 CMD Command 16 2 write-only COLDEN Collision Detection Enable 8 1 ENC Encoding Format 10 1 GCMD PMBus Group Command 9 1 MSSEN Master Slave Select Enable 13 1 PLOADEN Data Preload Enable 6 1 PMODE Parity Mode 13 1 QCEN Quick Command Enable 9 1 RXEN Receiver Enable 17 1 SBMODE Stop Bit Mode 6 1 SFDE Start of Frame Detection Enable 9 1 SMEN Smart Mode Enable 8 1 SSDE Slave Select Low Detect Enable 9 1 TXEN Transmitter Enable 16 1 DATA SPI Data 0x28 32 read-write n 0x0 0x0 DATA Data Value 0 9 DBGCTRL SPI Debug Control 0x30 8 read-write n 0x0 0x0 DBGSTOP Debug Mode 0 1 INTENCLR SPI Interrupt Enable Clear 0x14 8 read-write n 0x0 0x0 AMATCH Address Match Interrupt Disable 1 1 CTSIC Clear To Send Input Change Interrupt Disable 4 1 DRDY Data Interrupt Disable 2 1 DRE Data Register Empty Interrupt Disable 0 1 ERROR Combined Error Interrupt Disable 7 1 MB Master On Bus Interrupt Disable 0 1 PREC Stop Received Interrupt Disable 0 1 RXBRK Break Received Interrupt Disable 5 1 RXC Receive Complete Interrupt Disable 2 1 RXS Receive Start Interrupt Disable 3 1 SB Slave On Bus Interrupt Disable 1 1 SSL Slave Select Low Interrupt Disable 3 1 TXC Transmit Complete Interrupt Disable 1 1 INTENSET SPI Interrupt Enable Set 0x16 8 read-write n 0x0 0x0 AMATCH Address Match Interrupt Enable 1 1 CTSIC Clear To Send Input Change Interrupt Enable 4 1 DRDY Data Interrupt Enable 2 1 DRE Data Register Empty Interrupt Enable 0 1 ERROR Combined Error Interrupt Enable 7 1 MB Master On Bus Interrupt Enable 0 1 PREC Stop Received Interrupt Enable 0 1 RXBRK Break Received Interrupt Enable 5 1 RXC Receive Complete Interrupt Enable 2 1 RXS Receive Start Interrupt Enable 3 1 SB Slave On Bus Interrupt Enable 1 1 SSL Slave Select Low Interrupt Enable 3 1 TXC Transmit Complete Interrupt Enable 1 1 INTFLAG SPI Interrupt Flag Status and Clear 0x18 8 read-write n 0x0 0x0 AMATCH Address Match Interrupt 1 1 CTSIC Clear To Send Input Change Interrupt 4 1 DRDY Data Interrupt 2 1 DRE Data Register Empty Interrupt 0 1 read-only ERROR Combined Error Interrupt 7 1 MB Master On Bus Interrupt 0 1 PREC Stop Received Interrupt 0 1 RXBRK Break Received Interrupt 5 1 RXC Receive Complete Interrupt 2 1 read-only RXS Receive Start Interrupt 3 1 write-only SB Slave On Bus Interrupt 1 1 SSL Slave Select Low Interrupt Flag 3 1 TXC Transmit Complete Interrupt 1 1 RXPL USART Receive Pulse Length 0xE 8 read-write n 0x0 0x0 RXPL Receive Pulse Length 0 8 SERCOM_I2CM - ADDR I2C Master Mode - - I2CM Address 0x24 32 read-write n 0x0 0x0 ADDR Address Value 0 11 HS High Speed Mode 14 1 LEN Length 16 8 LENEN Length Enable 13 1 TENBITEN Ten Bit Addressing Enable 15 1 SERCOM_I2CM - BAUD I2C Master Mode - - I2CM Baud Rate 0xC 32 read-write n 0x0 0x0 BAUD Baud Rate Value 0 8 BAUDLOW Baud Rate Value Low 8 8 HSBAUD High Speed Baud Rate Value 16 8 HSBAUDLOW High Speed Baud Rate Value Low 24 8 SERCOM_I2CM - CTRLA I2C Master Mode - - I2CM Control A 0x0 32 read-write n 0x0 0x0 ENABLE Enable 1 1 INACTOUT Inactive Time-Out 28 2 LOWTOUTEN SCL Low Timeout Enable 30 1 MEXTTOEN Master SCL Low Extend Timeout 22 1 MODE Operating Mode 2 3 MODESelect USART_EXT_CLK USART mode with external clock 0x0 USART_INT_CLK USART mode with internal clock 0x1 SPI_SLAVE SPI mode with external clock 0x2 SPI_MASTER SPI mode with internal clock 0x3 I2C_SLAVE I2C mode with external clock 0x4 I2C_MASTER I2C mode with internal clock 0x5 PINOUT Pin Usage 16 1 RUNSTDBY Run in Standby 7 1 SCLSM SCL Clock Stretch Mode 27 1 SDAHOLD SDA Hold Time 20 2 SEXTTOEN Slave SCL Low Extend Timeout 23 1 SPEED Transfer Speed 24 2 SWRST Software Reset 0 1 SERCOM_I2CM - CTRLB I2C Master Mode - - I2CM Control B 0x4 32 read-write n 0x0 0x0 ACKACT Acknowledge Action 18 1 CMD Command 16 2 write-only QCEN Quick Command Enable 9 1 SMEN Smart Mode Enable 8 1 SERCOM_I2CM - DATA I2C Master Mode - - I2CM Data 0x28 8 read-write n 0x0 0x0 DATA Data Value 0 8 SERCOM_I2CM - DBGCTRL I2C Master Mode - - I2CM Debug Control 0x30 8 read-write n 0x0 0x0 DBGSTOP Debug Mode 0 1 SERCOM_I2CM - INTENCLR I2C Master Mode - - I2CM Interrupt Enable Clear 0x14 8 read-write n 0x0 0x0 ERROR Combined Error Interrupt Disable 7 1 MB Master On Bus Interrupt Disable 0 1 SB Slave On Bus Interrupt Disable 1 1 SERCOM_I2CM - INTENSET I2C Master Mode - - I2CM Interrupt Enable Set 0x16 8 read-write n 0x0 0x0 ERROR Combined Error Interrupt Enable 7 1 MB Master On Bus Interrupt Enable 0 1 SB Slave On Bus Interrupt Enable 1 1 SERCOM_I2CM - INTFLAG I2C Master Mode - - I2CM Interrupt Flag Status and Clear 0x18 8 read-write n 0x0 0x0 ERROR Combined Error Interrupt 7 1 MB Master On Bus Interrupt 0 1 SB Slave On Bus Interrupt 1 1 SERCOM_I2CM - STATUS I2C Master Mode - - I2CM Status 0x1A 16 read-write n 0x0 0x0 ARBLOST Arbitration Lost 1 1 BUSERR Bus Error 0 1 BUSSTATE Bus State 4 2 CLKHOLD Clock Hold 7 1 read-only LENERR Length Error 10 1 LOWTOUT SCL Low Timeout 6 1 MEXTTOUT Master SCL Low Extend Timeout 8 1 RXNACK Received Not Acknowledge 2 1 read-only SEXTTOUT Slave SCL Low Extend Timeout 9 1 SERCOM_I2CM - SYNCBUSY I2C Master Mode - - I2CM Synchronization Busy 0x1C 32 read-only n 0x0 0x0 ENABLE SERCOM Enable Synchronization Busy 1 1 read-only SWRST Software Reset Synchronization Busy 0 1 read-only SYSOP System Operation Synchronization Busy 2 1 read-only SERCOM_I2CS - ADDR I2C Slave Mode - - I2CS Address 0x24 32 read-write n 0x0 0x0 ADDR Address Value 1 10 ADDRMASK Address Mask 17 10 GENCEN General Call Address Enable 0 1 TENBITEN Ten Bit Addressing Enable 15 1 SERCOM_I2CS - CTRLA I2C Slave Mode - - I2CS Control A 0x0 32 read-write n 0x0 0x0 ENABLE Enable 1 1 LOWTOUTEN SCL Low Timeout Enable 30 1 MODE Operating Mode 2 3 MODESelect USART_EXT_CLK USART mode with external clock 0x0 USART_INT_CLK USART mode with internal clock 0x1 SPI_SLAVE SPI mode with external clock 0x2 SPI_MASTER SPI mode with internal clock 0x3 I2C_SLAVE I2C mode with external clock 0x4 I2C_MASTER I2C mode with internal clock 0x5 PINOUT Pin Usage 16 1 RUNSTDBY Run during Standby 7 1 SCLSM SCL Clock Stretch Mode 27 1 SDAHOLD SDA Hold Time 20 2 SEXTTOEN Slave SCL Low Extend Timeout 23 1 SPEED Transfer Speed 24 2 SWRST Software Reset 0 1 SERCOM_I2CS - CTRLB I2C Slave Mode - - I2CS Control B 0x4 32 read-write n 0x0 0x0 AACKEN Automatic Address Acknowledge 10 1 ACKACT Acknowledge Action 18 1 AMODE Address Mode 14 2 CMD Command 16 2 write-only GCMD PMBus Group Command 9 1 SMEN Smart Mode Enable 8 1 SERCOM_I2CS - DATA I2C Slave Mode - - I2CS Data 0x28 8 read-write n 0x0 0x0 DATA Data Value 0 8 SERCOM_I2CS - INTENCLR I2C Slave Mode - - I2CS Interrupt Enable Clear 0x14 8 read-write n 0x0 0x0 AMATCH Address Match Interrupt Disable 1 1 DRDY Data Interrupt Disable 2 1 ERROR Combined Error Interrupt Disable 7 1 PREC Stop Received Interrupt Disable 0 1 SERCOM_I2CS - INTENSET I2C Slave Mode - - I2CS Interrupt Enable Set 0x16 8 read-write n 0x0 0x0 AMATCH Address Match Interrupt Enable 1 1 DRDY Data Interrupt Enable 2 1 ERROR Combined Error Interrupt Enable 7 1 PREC Stop Received Interrupt Enable 0 1 SERCOM_I2CS - INTFLAG I2C Slave Mode - - I2CS Interrupt Flag Status and Clear 0x18 8 read-write n 0x0 0x0 AMATCH Address Match Interrupt 1 1 DRDY Data Interrupt 2 1 ERROR Combined Error Interrupt 7 1 PREC Stop Received Interrupt 0 1 SERCOM_I2CS - STATUS I2C Slave Mode - - I2CS Status 0x1A 16 read-write n 0x0 0x0 BUSERR Bus Error 0 1 CLKHOLD Clock Hold 7 1 read-only COLL Transmit Collision 1 1 DIR Read/Write Direction 3 1 read-only HS High Speed 10 1 LOWTOUT SCL Low Timeout 6 1 RXNACK Received Not Acknowledge 2 1 read-only SEXTTOUT Slave SCL Low Extend Timeout 9 1 SR Repeated Start 4 1 read-only SERCOM_I2CS - SYNCBUSY I2C Slave Mode - - I2CS Synchronization Busy 0x1C 32 read-only n 0x0 0x0 ENABLE SERCOM Enable Synchronization Busy 1 1 read-only SWRST Software Reset Synchronization Busy 0 1 read-only SERCOM_SPI - ADDR SPI Mode - - SPI Address 0x24 32 read-write n 0x0 0x0 ADDR Address Value 0 8 ADDRMASK Address Mask 16 8 SERCOM_SPI - BAUD SPI Mode - - SPI Baud Rate 0xC 8 read-write n 0x0 0x0 BAUD Baud Rate Value 0 8 SERCOM_SPI - CTRLA SPI Mode - - SPI Control A 0x0 32 read-write n 0x0 0x0 CPHA Clock Phase 28 1 CPOL Clock Polarity 29 1 DIPO Data In Pinout 20 2 DOPO Data Out Pinout 16 2 DORD Data Order 30 1 ENABLE Enable 1 1 FORM Frame Format 24 4 IBON Immediate Buffer Overflow Notification 8 1 MODE Operating Mode 2 3 MODESelect USART_EXT_CLK USART mode with external clock 0x0 USART_INT_CLK USART mode with internal clock 0x1 SPI_SLAVE SPI mode with external clock 0x2 SPI_MASTER SPI mode with internal clock 0x3 I2C_SLAVE I2C mode with external clock 0x4 I2C_MASTER I2C mode with internal clock 0x5 RUNSTDBY Run during Standby 7 1 SWRST Software Reset 0 1 SERCOM_SPI - CTRLB SPI Mode - - SPI Control B 0x4 32 read-write n 0x0 0x0 AMODE Address Mode 14 2 CHSIZE Character Size 0 3 MSSEN Master Slave Select Enable 13 1 PLOADEN Data Preload Enable 6 1 RXEN Receiver Enable 17 1 SSDE Slave Select Low Detect Enable 9 1 SERCOM_SPI - DATA SPI Mode - - SPI Data 0x28 32 read-write n 0x0 0x0 DATA Data Value 0 9 SERCOM_SPI - DBGCTRL SPI Mode - - SPI Debug Control 0x30 8 read-write n 0x0 0x0 DBGSTOP Debug Mode 0 1 SERCOM_SPI - INTENCLR SPI Mode - - SPI Interrupt Enable Clear 0x14 8 read-write n 0x0 0x0 DRE Data Register Empty Interrupt Disable 0 1 ERROR Combined Error Interrupt Disable 7 1 RXC Receive Complete Interrupt Disable 2 1 SSL Slave Select Low Interrupt Disable 3 1 TXC Transmit Complete Interrupt Disable 1 1 SERCOM_SPI - INTENSET SPI Mode - - SPI Interrupt Enable Set 0x16 8 read-write n 0x0 0x0 DRE Data Register Empty Interrupt Enable 0 1 ERROR Combined Error Interrupt Enable 7 1 RXC Receive Complete Interrupt Enable 2 1 SSL Slave Select Low Interrupt Enable 3 1 TXC Transmit Complete Interrupt Enable 1 1 SERCOM_SPI - INTFLAG SPI Mode - - SPI Interrupt Flag Status and Clear 0x18 8 read-write n 0x0 0x0 DRE Data Register Empty Interrupt 0 1 read-only ERROR Combined Error Interrupt 7 1 RXC Receive Complete Interrupt 2 1 read-only SSL Slave Select Low Interrupt Flag 3 1 TXC Transmit Complete Interrupt 1 1 SERCOM_SPI - STATUS SPI Mode - - SPI Status 0x1A 16 read-write n 0x0 0x0 BUFOVF Buffer Overflow 2 1 SERCOM_SPI - SYNCBUSY SPI Mode - - SPI Synchronization Busy 0x1C 32 read-only n 0x0 0x0 CTRLB CTRLB Synchronization Busy 2 1 read-only ENABLE SERCOM Enable Synchronization Busy 1 1 read-only SWRST Software Reset Synchronization Busy 0 1 read-only SERCOM_USART - BAUD USART Mode - - USART Baud Rate 0xC 16 read-write n 0x0 0x0 BAUD Baud Rate Value 0 16 SERCOM_USART - BAUD_FRACFP_MODE USART Mode - - USART Baud Rate BAUD 0xC 16 read-write n 0x0 0x0 BAUD Baud Rate Value 0 13 FP Fractional Part 13 3 SERCOM_USART - BAUD_FRAC_MODE USART Mode - - USART Baud Rate BAUD 0xC 16 read-write n 0x0 0x0 BAUD Baud Rate Value 0 13 FP Fractional Part 13 3 SERCOM_USART - BAUD_USARTFP_MODE USART Mode - - USART Baud Rate BAUD 0xC 16 read-write n 0x0 0x0 BAUD Baud Rate Value 0 16 SERCOM_USART - CTRLA USART Mode - - USART Control A 0x0 32 read-write n 0x0 0x0 CMODE Communication Mode 28 1 CPOL Clock Polarity 29 1 DORD Data Order 30 1 ENABLE Enable 1 1 FORM Frame Format 24 4 IBON Immediate Buffer Overflow Notification 8 1 MODE Operating Mode 2 3 MODESelect USART_EXT_CLK USART mode with external clock 0x0 USART_INT_CLK USART mode with internal clock 0x1 SPI_SLAVE SPI mode with external clock 0x2 SPI_MASTER SPI mode with internal clock 0x3 I2C_SLAVE I2C mode with external clock 0x4 I2C_MASTER I2C mode with internal clock 0x5 RUNSTDBY Run during Standby 7 1 RXPO Receive Data Pinout 20 2 SAMPA Sample Adjustment 22 2 SAMPR Sample 13 3 SWRST Software Reset 0 1 TXPO Transmit Data Pinout 16 2 SERCOM_USART - CTRLB USART Mode - - USART Control B 0x4 32 read-write n 0x0 0x0 CHSIZE Character Size 0 3 COLDEN Collision Detection Enable 8 1 ENC Encoding Format 10 1 PMODE Parity Mode 13 1 RXEN Receiver Enable 17 1 SBMODE Stop Bit Mode 6 1 SFDE Start of Frame Detection Enable 9 1 TXEN Transmitter Enable 16 1 SERCOM_USART - DATA USART Mode - - USART Data 0x28 16 read-write n 0x0 0x0 DATA Data Value 0 9 SERCOM_USART - DBGCTRL USART Mode - - USART Debug Control 0x30 8 read-write n 0x0 0x0 DBGSTOP Debug Mode 0 1 SERCOM_USART - INTENCLR USART Mode - - USART Interrupt Enable Clear 0x14 8 read-write n 0x0 0x0 CTSIC Clear To Send Input Change Interrupt Disable 4 1 DRE Data Register Empty Interrupt Disable 0 1 ERROR Combined Error Interrupt Disable 7 1 RXBRK Break Received Interrupt Disable 5 1 RXC Receive Complete Interrupt Disable 2 1 RXS Receive Start Interrupt Disable 3 1 TXC Transmit Complete Interrupt Disable 1 1 SERCOM_USART - INTENSET USART Mode - - USART Interrupt Enable Set 0x16 8 read-write n 0x0 0x0 CTSIC Clear To Send Input Change Interrupt Enable 4 1 DRE Data Register Empty Interrupt Enable 0 1 ERROR Combined Error Interrupt Enable 7 1 RXBRK Break Received Interrupt Enable 5 1 RXC Receive Complete Interrupt Enable 2 1 RXS Receive Start Interrupt Enable 3 1 TXC Transmit Complete Interrupt Enable 1 1 SERCOM_USART - INTFLAG USART Mode - - USART Interrupt Flag Status and Clear 0x18 8 read-write n 0x0 0x0 CTSIC Clear To Send Input Change Interrupt 4 1 DRE Data Register Empty Interrupt 0 1 read-only ERROR Combined Error Interrupt 7 1 RXBRK Break Received Interrupt 5 1 RXC Receive Complete Interrupt 2 1 read-only RXS Receive Start Interrupt 3 1 write-only TXC Transmit Complete Interrupt 1 1 SERCOM_USART - RXPL USART Mode - - USART Receive Pulse Length 0xE 8 read-write n 0x0 0x0 RXPL Receive Pulse Length 0 8 SERCOM_USART - STATUS USART Mode - - USART Status 0x1A 16 read-write n 0x0 0x0 BUFOVF Buffer Overflow 2 1 COLL Collision Detected 5 1 CTS Clear To Send 3 1 read-only FERR Frame Error 1 1 ISF Inconsistent Sync Field 4 1 PERR Parity Error 0 1 SERCOM_USART - SYNCBUSY USART Mode - - USART Synchronization Busy 0x1C 32 read-only n 0x0 0x0 CTRLB CTRLB Synchronization Busy 2 1 read-only ENABLE SERCOM Enable Synchronization Busy 1 1 read-only SWRST Software Reset Synchronization Busy 0 1 read-only STATUS SPI Status 0x1A 16 read-write n 0x0 0x0 ARBLOST Arbitration Lost 1 1 BUFOVF Buffer Overflow 2 1 BUSERR Bus Error 0 1 BUSSTATE Bus State 4 2 CLKHOLD Clock Hold 7 1 read-only COLL Collision Detected 5 1 CTS Clear To Send 3 1 read-only DIR Read/Write Direction 3 1 read-only FERR Frame Error 1 1 HS High Speed 10 1 ISF Inconsistent Sync Field 4 1 LENERR Length Error 10 1 LOWTOUT SCL Low Timeout 6 1 MEXTTOUT Master SCL Low Extend Timeout 8 1 PERR Parity Error 0 1 RXNACK Received Not Acknowledge 2 1 read-only SEXTTOUT Slave SCL Low Extend Timeout 9 1 SR Repeated Start 4 1 read-only SYNCBUSY SPI Synchronization Busy 0x1C 32 read-only n 0x0 0x0 CTRLB CTRLB Synchronization Busy 2 1 read-only ENABLE SERCOM Enable Synchronization Busy 1 1 read-only SWRST Software Reset Synchronization Busy 0 1 read-only SYSOP System Operation Synchronization Busy 2 1 read-only SYSCTRL System Control SYSCTRL 0x0 0x0 0x2C registers n SYSCTRL 1 SYSCTRL_INTREQ 1 BOD33 3.3V Brown-Out Detector (BOD33) Control 0x34 32 read-write n 0x0 0x0 ACTION BOD33 Action 3 2 ACTIONSelect NONE No action 0x0 RESET The BOD33 generates a reset 0x1 INTERRUPT The BOD33 generates an interrupt 0x2 CEN Clock Enable 9 1 ENABLE Enable 1 1 HYST Hysteresis 2 1 LEVEL BOD33 Threshold Level 16 6 MODE Operation Mode 8 1 PSEL Prescaler Select 12 4 PSELSelect DIV2 Divide clock by 2 0x0 DIV4 Divide clock by 4 0x1 DIV8 Divide clock by 8 0x2 DIV16 Divide clock by 16 0x3 DIV32 Divide clock by 32 0x4 DIV64 Divide clock by 64 0x5 DIV128 Divide clock by 128 0x6 DIV256 Divide clock by 256 0x7 DIV512 Divide clock by 512 0x8 DIV1K Divide clock by 1024 0x9 DIV2K Divide clock by 2048 0xa DIV4K Divide clock by 4096 0xb DIV8K Divide clock by 8192 0xc DIV16K Divide clock by 16384 0xd DIV32K Divide clock by 32768 0xe DIV64K Divide clock by 65536 0xf RUNSTDBY Run in Standby 6 1 DFLLCTRL DFLL48M Control 0x24 16 read-write n 0x0 0x0 BPLCKC Bypass Coarse Lock 10 1 CCDIS Chill Cycle Disable 8 1 ENABLE DFLL Enable 1 1 LLAW Lose Lock After Wake 4 1 MODE Operating Mode Selection 2 1 ONDEMAND On Demand Control 7 1 QLDIS Quick Lock Disable 9 1 RUNSTDBY Run in Standby 6 1 STABLE Stable DFLL Frequency 3 1 USBCRM USB Clock Recovery Mode 5 1 WAITLOCK Wait Lock 11 1 DFLLMUL DFLL48M Multiplier 0x2C 32 read-write n 0x0 0x0 CSTEP Coarse Maximum Step 26 6 FSTEP Fine Maximum Step 16 10 MUL DFLL Multiply Factor 0 16 DFLLSYNC DFLL48M Synchronization 0x30 8 read-write n 0x0 0x0 READREQ Read Request 7 1 write-only DFLLVAL DFLL48M Value 0x28 32 read-write n 0x0 0x0 COARSE Coarse Value 10 6 DIFF Multiplication Ratio Difference 16 16 read-only FINE Fine Value 0 10 DPLLCTRLA DPLL Control A 0x44 8 read-write n 0x0 0x0 ENABLE DPLL Enable 1 1 ONDEMAND On Demand Clock Activation 7 1 RUNSTDBY Run in Standby 6 1 DPLLCTRLB DPLL Control B 0x4C 32 read-write n 0x0 0x0 DIV Clock Divider 16 11 FILTER Proportional Integral Filter Selection 0 2 FILTERSelect DEFAULT Default filter mode 0x0 LBFILT Low bandwidth filter 0x1 HBFILT High bandwidth filter 0x2 HDFILT High damping filter 0x3 LBYPASS Lock Bypass 12 1 LPEN Low-Power Enable 2 1 LTIME Lock Time 8 3 LTIMESelect DEFAULT No time-out 0x0 8MS Time-out if no lock within 8 ms 0x4 9MS Time-out if no lock within 9 ms 0x5 10MS Time-out if no lock within 10 ms 0x6 11MS Time-out if no lock within 11 ms 0x7 REFCLK Reference Clock Selection 4 2 REFCLKSelect REF0 CLK_DPLL_REF0 clock reference 0x0 REF1 CLK_DPLL_REF1 clock reference 0x1 GCLK GCLK_DPLL clock reference 0x2 WUF Wake Up Fast 3 1 DPLLRATIO DPLL Ratio Control 0x48 32 read-write n 0x0 0x0 LDR Loop Divider Ratio 0 12 LDRFRAC Loop Divider Ratio Fractional Part 16 4 DPLLSTATUS DPLL Status 0x50 8 read-only n 0x0 0x0 CLKRDY Output Clock Ready 1 1 read-only DIV Divider Enable 3 1 read-only ENABLE DPLL Enable 2 1 read-only LOCK DPLL Lock Status 0 1 read-only INTENCLR Interrupt Enable Clear 0x0 32 read-write n 0x0 0x0 B33SRDY BOD33 Synchronization Ready Interrupt Enable 11 1 BOD33DET BOD33 Detection Interrupt Enable 10 1 BOD33RDY BOD33 Ready Interrupt Enable 9 1 DFLLLCKC DFLL Lock Coarse Interrupt Enable 7 1 DFLLLCKF DFLL Lock Fine Interrupt Enable 6 1 DFLLOOB DFLL Out Of Bounds Interrupt Enable 5 1 DFLLRCS DFLL Reference Clock Stopped Interrupt Enable 8 1 DFLLRDY DFLL Ready Interrupt Enable 4 1 DPLLLCKF DPLL Lock Fall Interrupt Enable 16 1 DPLLLCKR DPLL Lock Rise Interrupt Enable 15 1 DPLLLTO DPLL Lock Timeout Interrupt Enable 17 1 OSC32KRDY OSC32K Ready Interrupt Enable 2 1 OSC8MRDY OSC8M Ready Interrupt Enable 3 1 XOSC32KRDY XOSC32K Ready Interrupt Enable 1 1 XOSCRDY XOSC Ready Interrupt Enable 0 1 INTENSET Interrupt Enable Set 0x4 32 read-write n 0x0 0x0 B33SRDY BOD33 Synchronization Ready Interrupt Enable 11 1 BOD33DET BOD33 Detection Interrupt Enable 10 1 BOD33RDY BOD33 Ready Interrupt Enable 9 1 DFLLLCKC DFLL Lock Coarse Interrupt Enable 7 1 DFLLLCKF DFLL Lock Fine Interrupt Enable 6 1 DFLLOOB DFLL Out Of Bounds Interrupt Enable 5 1 DFLLRCS DFLL Reference Clock Stopped Interrupt Enable 8 1 DFLLRDY DFLL Ready Interrupt Enable 4 1 DPLLLCKF DPLL Lock Fall Interrupt Enable 16 1 DPLLLCKR DPLL Lock Rise Interrupt Enable 15 1 DPLLLTO DPLL Lock Timeout Interrupt Enable 17 1 OSC32KRDY OSC32K Ready Interrupt Enable 2 1 OSC8MRDY OSC8M Ready Interrupt Enable 3 1 XOSC32KRDY XOSC32K Ready Interrupt Enable 1 1 XOSCRDY XOSC Ready Interrupt Enable 0 1 INTFLAG Interrupt Flag Status and Clear 0x8 32 read-write n 0x0 0x0 B33SRDY BOD33 Synchronization Ready 11 1 BOD33DET BOD33 Detection 10 1 BOD33RDY BOD33 Ready 9 1 DFLLLCKC DFLL Lock Coarse 7 1 DFLLLCKF DFLL Lock Fine 6 1 DFLLOOB DFLL Out Of Bounds 5 1 DFLLRCS DFLL Reference Clock Stopped 8 1 DFLLRDY DFLL Ready 4 1 DPLLLCKF DPLL Lock Fall 16 1 DPLLLCKR DPLL Lock Rise 15 1 DPLLLTO DPLL Lock Timeout 17 1 OSC32KRDY OSC32K Ready 2 1 OSC8MRDY OSC8M Ready 3 1 XOSC32KRDY XOSC32K Ready 1 1 XOSCRDY XOSC Ready 0 1 OSC32K 32kHz Internal Oscillator (OSC32K) Control 0x18 32 read-write n 0x0 0x0 CALIB Oscillator Calibration 16 7 EN1K 1kHz Output Enable 3 1 EN32K 32kHz Output Enable 2 1 ENABLE Oscillator Enable 1 1 ONDEMAND On Demand Control 7 1 RUNSTDBY Run in Standby 6 1 STARTUP Oscillator Start-Up Time 8 3 WRTLOCK Write Lock 12 1 OSC8M 8MHz Internal Oscillator (OSC8M) Control 0x20 32 read-write n 0x0 0x0 CALIB Oscillator Calibration 16 12 ENABLE Oscillator Enable 1 1 FRANGE Oscillator Frequency Range 30 2 FRANGESelect 0 4 to 6MHz 0x0 1 6 to 8MHz 0x1 2 8 to 11MHz 0x2 3 11 to 15MHz 0x3 ONDEMAND On Demand Control 7 1 PRESC Oscillator Prescaler 8 2 PRESCSelect 0 1 0x0 1 2 0x1 2 4 0x2 3 8 0x3 RUNSTDBY Run in Standby 6 1 OSCULP32K 32kHz Ultra Low Power Internal Oscillator (OSCULP32K) Control 0x1C 8 read-write n 0x0 0x0 CALIB Oscillator Calibration 0 5 WRTLOCK Write Lock 7 1 PCLKSR Power and Clocks Status 0xC 32 read-only n 0x0 0x0 B33SRDY BOD33 Synchronization Ready 11 1 read-only BOD33DET BOD33 Detection 10 1 read-only BOD33RDY BOD33 Ready 9 1 read-only DFLLLCKC DFLL Lock Coarse 7 1 read-only DFLLLCKF DFLL Lock Fine 6 1 read-only DFLLOOB DFLL Out Of Bounds 5 1 read-only DFLLRCS DFLL Reference Clock Stopped 8 1 read-only DFLLRDY DFLL Ready 4 1 read-only DPLLLCKF DPLL Lock Fall 16 1 read-only DPLLLCKR DPLL Lock Rise 15 1 read-only DPLLLTO DPLL Lock Timeout 17 1 read-only OSC32KRDY OSC32K Ready 2 1 read-only OSC8MRDY OSC8M Ready 3 1 read-only XOSC32KRDY XOSC32K Ready 1 1 read-only XOSCRDY XOSC Ready 0 1 read-only VREF Voltage References System (VREF) Control 0x40 32 read-write n 0x0 0x0 BGOUTEN Bandgap Output Enable 2 1 CALIB Bandgap Voltage Generator Calibration 16 11 TSEN Temperature Sensor Enable 1 1 VREG Voltage Regulator System (VREG) Control 0x3C 16 read-write n 0x0 0x0 FORCELDO Force LDO Voltage Regulator 13 1 RUNSTDBY Run in Standby 6 1 XOSC External Multipurpose Crystal Oscillator (XOSC) Control 0x10 16 read-write n 0x0 0x0 AMPGC Automatic Amplitude Gain Control 11 1 ENABLE Oscillator Enable 1 1 GAIN Oscillator Gain 8 3 GAINSelect 0 2MHz 0x0 1 4MHz 0x1 2 8MHz 0x2 3 16MHz 0x3 4 30MHz 0x4 ONDEMAND On Demand Control 7 1 RUNSTDBY Run in Standby 6 1 STARTUP Start-Up Time 12 4 XTALEN Crystal Oscillator Enable 2 1 XOSC32K 32kHz External Crystal Oscillator (XOSC32K) Control 0x14 16 read-write n 0x0 0x0 AAMPEN Automatic Amplitude Control Enable 5 1 EN1K 1kHz Output Enable 4 1 EN32K 32kHz Output Enable 3 1 ENABLE Oscillator Enable 1 1 ONDEMAND On Demand Control 7 1 RUNSTDBY Run in Standby 6 1 STARTUP Oscillator Start-Up Time 8 3 WRTLOCK Write Lock 12 1 XTALEN Crystal Oscillator Enable 2 1 TC3 Basic Timer Counter 3 TC 0x0 0x0 0x40 registers n TC3 18 TC3_INTREQ 18 CC0 COUNT16 Compare/Capture 0x18 16 read-write n 0x0 0x0 CC Compare/Capture Value 0 32 CC1 COUNT16 Compare/Capture 0x1A 16 read-write n 0x0 0x0 CC Compare/Capture Value 0 32 COUNT COUNT16 Counter Value 0x10 16 read-write n 0x0 0x0 COUNT Count Value 0 32 CTRLA Control A 0x0 16 read-write n 0x0 0x0 ENABLE Enable 1 1 MODE TC Mode 2 2 MODESelect COUNT16 Counter in 16-bit mode 0x0 COUNT8 Counter in 8-bit mode 0x1 COUNT32 Counter in 32-bit mode 0x2 PRESCALER Prescaler 8 3 PRESCALERSelect DIV1 Prescaler: GCLK_TC 0x0 DIV2 Prescaler: GCLK_TC/2 0x1 DIV4 Prescaler: GCLK_TC/4 0x2 DIV8 Prescaler: GCLK_TC/8 0x3 DIV16 Prescaler: GCLK_TC/16 0x4 DIV64 Prescaler: GCLK_TC/64 0x5 DIV256 Prescaler: GCLK_TC/256 0x6 DIV1024 Prescaler: GCLK_TC/1024 0x7 PRESCSYNC Prescaler and Counter Synchronization 12 2 PRESCSYNCSelect GCLK Reload or reset the counter on next generic clock 0x0 PRESC Reload or reset the counter on next prescaler clock 0x1 RESYNC Reload or reset the counter on next generic clock. Reset the prescaler counter 0x2 RUNSTDBY Run in Standby 11 1 SWRST Software Reset 0 1 write-only WAVEGEN Waveform Generation Operation 5 2 WAVEGENSelect NFRQ 0x0 MFRQ 0x1 NPWM 0x2 MPWM 0x3 CTRLBCLR Control B Clear 0x4 8 read-write n 0x0 0x0 CMD Command 6 2 CMDSelect NONE No action 0x0 RETRIGGER Force a start, restart or retrigger 0x1 STOP Force a stop 0x2 DIR Counter Direction 0 1 ONESHOT One-Shot 2 1 CTRLBSET Control B Set 0x5 8 read-write n 0x0 0x0 CMD Command 6 2 CMDSelect NONE No action 0x0 RETRIGGER Force a start, restart or retrigger 0x1 STOP Force a stop 0x2 DIR Counter Direction 0 1 ONESHOT One-Shot 2 1 CTRLC Control C 0x6 8 read-write n 0x0 0x0 CPTEN0 Capture Channel 0 Enable 4 1 CPTEN1 Capture Channel 1 Enable 5 1 INVEN0 Output Waveform 0 Invert Enable 0 1 INVEN1 Output Waveform 1 Invert Enable 1 1 DBGCTRL Debug Control 0x8 8 read-write n 0x0 0x0 DBGRUN Debug Run Mode 0 1 EVCTRL Event Control 0xA 16 read-write n 0x0 0x0 EVACT Event Action 0 3 EVACTSelect OFF Event action disabled 0x0 RETRIGGER Start, restart or retrigger TC on event 0x1 COUNT Count on event 0x2 START Start TC on event 0x3 PPW Period captured in CC0, pulse width in CC1 0x5 PWP Period captured in CC1, pulse width in CC0 0x6 MCEO0 Match or Capture Channel 0 Event Output Enable 12 1 MCEO1 Match or Capture Channel 1 Event Output Enable 13 1 OVFEO Overflow/Underflow Event Output Enable 8 1 TCEI TC Event Input 5 1 TCINV TC Inverted Event Input 4 1 INTENCLR Interrupt Enable Clear 0xC 8 read-write n 0x0 0x0 ERR Error Interrupt Enable 1 1 MC0 Match or Capture Channel 0 Interrupt Enable 4 1 MC1 Match or Capture Channel 1 Interrupt Enable 5 1 OVF Overflow Interrupt Enable 0 1 SYNCRDY Synchronization Ready Interrupt Enable 3 1 INTENSET Interrupt Enable Set 0xD 8 read-write n 0x0 0x0 ERR Error Interrupt Enable 1 1 MC0 Match or Capture Channel 0 Interrupt Enable 4 1 MC1 Match or Capture Channel 1 Interrupt Enable 5 1 OVF Overflow Interrupt Enable 0 1 SYNCRDY Synchronization Ready Interrupt Enable 3 1 INTFLAG Interrupt Flag Status and Clear 0xE 8 read-write n 0x0 0x0 ERR Error 1 1 MC0 Match or Capture Channel 0 4 1 MC1 Match or Capture Channel 1 5 1 OVF Overflow 0 1 SYNCRDY Synchronization Ready 3 1 PER COUNT8 Period Value 0x14 8 read-write n 0x0 0x0 PER Period Value 0 8 READREQ Read Request 0x2 16 read-write n 0x0 0x0 ADDR Address 0 5 RCONT Read Continuously 14 1 RREQ Read Request 15 1 STATUS Status 0xF 8 read-only n 0x0 0x0 SLAVE Slave 4 1 read-only STOP Stop 3 1 read-only SYNCBUSY Synchronization Busy 7 1 read-only TC_COUNT16 - CC0 16-bit Counter Mode - - COUNT16 Compare/Capture 0x30 16 read-write n 0x0 0x0 CC Compare/Capture Value 0 16 TC_COUNT16 - CC1 16-bit Counter Mode - - COUNT16 Compare/Capture 0x4A 16 read-write n 0x0 0x0 CC Compare/Capture Value 0 16 TC_COUNT16 - COUNT 16-bit Counter Mode - - COUNT16 Counter Value 0x10 16 read-write n 0x0 0x0 COUNT Count Value 0 16 TC_COUNT16 - CTRLA 16-bit Counter Mode - - Control A 0x0 16 read-write n 0x0 0x0 ENABLE Enable 1 1 MODE TC Mode 2 2 MODESelect COUNT16 Counter in 16-bit mode 0x0 COUNT8 Counter in 8-bit mode 0x1 COUNT32 Counter in 32-bit mode 0x2 PRESCALER Prescaler 8 3 PRESCALERSelect DIV1 Prescaler: GCLK_TC 0x0 DIV2 Prescaler: GCLK_TC/2 0x1 DIV4 Prescaler: GCLK_TC/4 0x2 DIV8 Prescaler: GCLK_TC/8 0x3 DIV16 Prescaler: GCLK_TC/16 0x4 DIV64 Prescaler: GCLK_TC/64 0x5 DIV256 Prescaler: GCLK_TC/256 0x6 DIV1024 Prescaler: GCLK_TC/1024 0x7 PRESCSYNC Prescaler and Counter Synchronization 12 2 PRESCSYNCSelect GCLK Reload or reset the counter on next generic clock 0x0 PRESC Reload or reset the counter on next prescaler clock 0x1 RESYNC Reload or reset the counter on next generic clock. Reset the prescaler counter 0x2 RUNSTDBY Run in Standby 11 1 SWRST Software Reset 0 1 write-only WAVEGEN Waveform Generation Operation 5 2 WAVEGENSelect NFRQ None 0x0 MFRQ None 0x1 NPWM None 0x2 MPWM None 0x3 TC_COUNT16 - CTRLBCLR 16-bit Counter Mode - - Control B Clear 0x4 8 read-write n 0x0 0x0 CMD Command 6 2 CMDSelect NONE No action 0x0 RETRIGGER Force a start, restart or retrigger 0x1 STOP Force a stop 0x2 DIR Counter Direction 0 1 ONESHOT One-Shot 2 1 TC_COUNT16 - CTRLBSET 16-bit Counter Mode - - Control B Set 0x5 8 read-write n 0x0 0x0 CMD Command 6 2 CMDSelect NONE No action 0x0 RETRIGGER Force a start, restart or retrigger 0x1 STOP Force a stop 0x2 DIR Counter Direction 0 1 ONESHOT One-Shot 2 1 TC_COUNT16 - CTRLC 16-bit Counter Mode - - Control C 0x6 8 read-write n 0x0 0x0 CPTEN0 Capture Channel 0 Enable 4 1 CPTEN1 Capture Channel 1 Enable 5 1 INVEN0 Output Waveform 0 Invert Enable 0 1 INVEN1 Output Waveform 1 Invert Enable 1 1 TC_COUNT16 - DBGCTRL 16-bit Counter Mode - - Debug Control 0x8 8 read-write n 0x0 0x0 DBGRUN Debug Run Mode 0 1 TC_COUNT16 - EVCTRL 16-bit Counter Mode - - Event Control 0xA 16 read-write n 0x0 0x0 EVACT Event Action 0 3 EVACTSelect OFF Event action disabled 0x0 RETRIGGER Start, restart or retrigger TC on event 0x1 COUNT Count on event 0x2 START Start TC on event 0x3 PPW Period captured in CC0, pulse width in CC1 0x5 PWP Period captured in CC1, pulse width in CC0 0x6 MCEO0 Match or Capture Channel 0 Event Output Enable 12 1 MCEO1 Match or Capture Channel 1 Event Output Enable 13 1 OVFEO Overflow/Underflow Event Output Enable 8 1 TCEI TC Event Input 5 1 TCINV TC Inverted Event Input 4 1 TC_COUNT16 - INTENCLR 16-bit Counter Mode - - Interrupt Enable Clear 0xC 8 read-write n 0x0 0x0 ERR Error Interrupt Enable 1 1 MC0 Match or Capture Channel 0 Interrupt Enable 4 1 MC1 Match or Capture Channel 1 Interrupt Enable 5 1 OVF Overflow Interrupt Enable 0 1 SYNCRDY Synchronization Ready Interrupt Enable 3 1 TC_COUNT16 - INTENSET 16-bit Counter Mode - - Interrupt Enable Set 0xD 8 read-write n 0x0 0x0 ERR Error Interrupt Enable 1 1 MC0 Match or Capture Channel 0 Interrupt Enable 4 1 MC1 Match or Capture Channel 1 Interrupt Enable 5 1 OVF Overflow Interrupt Enable 0 1 SYNCRDY Synchronization Ready Interrupt Enable 3 1 TC_COUNT16 - INTFLAG 16-bit Counter Mode - - Interrupt Flag Status and Clear 0xE 8 read-write n 0x0 0x0 ERR Error 1 1 MC0 Match or Capture Channel 0 4 1 MC1 Match or Capture Channel 1 5 1 OVF Overflow 0 1 SYNCRDY Synchronization Ready 3 1 TC_COUNT16 - READREQ 16-bit Counter Mode - - Read Request 0x2 16 read-write n 0x0 0x0 ADDR Address 0 5 RCONT Read Continuously 14 1 RREQ Read Request 15 1 TC_COUNT16 - STATUS 16-bit Counter Mode - - Status 0xF 8 read-only n 0x0 0x0 SLAVE Slave 4 1 read-only STOP Stop 3 1 read-only SYNCBUSY Synchronization Busy 7 1 read-only TC_COUNT32 - CC0 32-bit Counter Mode - - COUNT32 Compare/Capture 0x30 32 read-write n 0x0 0x0 CC Compare/Capture Value 0 32 TC_COUNT32 - CC1 32-bit Counter Mode - - COUNT32 Compare/Capture 0x4C 32 read-write n 0x0 0x0 CC Compare/Capture Value 0 32 TC_COUNT32 - COUNT 32-bit Counter Mode - - COUNT32 Counter Value 0x10 32 read-write n 0x0 0x0 COUNT Count Value 0 32 TC_COUNT32 - CTRLA 32-bit Counter Mode - - Control A 0x0 16 read-write n 0x0 0x0 ENABLE Enable 1 1 MODE TC Mode 2 2 MODESelect COUNT16 Counter in 16-bit mode 0x0 COUNT8 Counter in 8-bit mode 0x1 COUNT32 Counter in 32-bit mode 0x2 PRESCALER Prescaler 8 3 PRESCALERSelect DIV1 Prescaler: GCLK_TC 0x0 DIV2 Prescaler: GCLK_TC/2 0x1 DIV4 Prescaler: GCLK_TC/4 0x2 DIV8 Prescaler: GCLK_TC/8 0x3 DIV16 Prescaler: GCLK_TC/16 0x4 DIV64 Prescaler: GCLK_TC/64 0x5 DIV256 Prescaler: GCLK_TC/256 0x6 DIV1024 Prescaler: GCLK_TC/1024 0x7 PRESCSYNC Prescaler and Counter Synchronization 12 2 PRESCSYNCSelect GCLK Reload or reset the counter on next generic clock 0x0 PRESC Reload or reset the counter on next prescaler clock 0x1 RESYNC Reload or reset the counter on next generic clock. Reset the prescaler counter 0x2 RUNSTDBY Run in Standby 11 1 SWRST Software Reset 0 1 write-only WAVEGEN Waveform Generation Operation 5 2 WAVEGENSelect NFRQ None 0x0 MFRQ None 0x1 NPWM None 0x2 MPWM None 0x3 TC_COUNT32 - CTRLBCLR 32-bit Counter Mode - - Control B Clear 0x4 8 read-write n 0x0 0x0 CMD Command 6 2 CMDSelect NONE No action 0x0 RETRIGGER Force a start, restart or retrigger 0x1 STOP Force a stop 0x2 DIR Counter Direction 0 1 ONESHOT One-Shot 2 1 TC_COUNT32 - CTRLBSET 32-bit Counter Mode - - Control B Set 0x5 8 read-write n 0x0 0x0 CMD Command 6 2 CMDSelect NONE No action 0x0 RETRIGGER Force a start, restart or retrigger 0x1 STOP Force a stop 0x2 DIR Counter Direction 0 1 ONESHOT One-Shot 2 1 TC_COUNT32 - CTRLC 32-bit Counter Mode - - Control C 0x6 8 read-write n 0x0 0x0 CPTEN0 Capture Channel 0 Enable 4 1 CPTEN1 Capture Channel 1 Enable 5 1 INVEN0 Output Waveform 0 Invert Enable 0 1 INVEN1 Output Waveform 1 Invert Enable 1 1 TC_COUNT32 - DBGCTRL 32-bit Counter Mode - - Debug Control 0x8 8 read-write n 0x0 0x0 DBGRUN Debug Run Mode 0 1 TC_COUNT32 - EVCTRL 32-bit Counter Mode - - Event Control 0xA 16 read-write n 0x0 0x0 EVACT Event Action 0 3 EVACTSelect OFF Event action disabled 0x0 RETRIGGER Start, restart or retrigger TC on event 0x1 COUNT Count on event 0x2 START Start TC on event 0x3 PPW Period captured in CC0, pulse width in CC1 0x5 PWP Period captured in CC1, pulse width in CC0 0x6 MCEO0 Match or Capture Channel 0 Event Output Enable 12 1 MCEO1 Match or Capture Channel 1 Event Output Enable 13 1 OVFEO Overflow/Underflow Event Output Enable 8 1 TCEI TC Event Input 5 1 TCINV TC Inverted Event Input 4 1 TC_COUNT32 - INTENCLR 32-bit Counter Mode - - Interrupt Enable Clear 0xC 8 read-write n 0x0 0x0 ERR Error Interrupt Enable 1 1 MC0 Match or Capture Channel 0 Interrupt Enable 4 1 MC1 Match or Capture Channel 1 Interrupt Enable 5 1 OVF Overflow Interrupt Enable 0 1 SYNCRDY Synchronization Ready Interrupt Enable 3 1 TC_COUNT32 - INTENSET 32-bit Counter Mode - - Interrupt Enable Set 0xD 8 read-write n 0x0 0x0 ERR Error Interrupt Enable 1 1 MC0 Match or Capture Channel 0 Interrupt Enable 4 1 MC1 Match or Capture Channel 1 Interrupt Enable 5 1 OVF Overflow Interrupt Enable 0 1 SYNCRDY Synchronization Ready Interrupt Enable 3 1 TC_COUNT32 - INTFLAG 32-bit Counter Mode - - Interrupt Flag Status and Clear 0xE 8 read-write n 0x0 0x0 ERR Error 1 1 MC0 Match or Capture Channel 0 4 1 MC1 Match or Capture Channel 1 5 1 OVF Overflow 0 1 SYNCRDY Synchronization Ready 3 1 TC_COUNT32 - READREQ 32-bit Counter Mode - - Read Request 0x2 16 read-write n 0x0 0x0 ADDR Address 0 5 RCONT Read Continuously 14 1 RREQ Read Request 15 1 TC_COUNT32 - STATUS 32-bit Counter Mode - - Status 0xF 8 read-only n 0x0 0x0 SLAVE Slave 4 1 read-only STOP Stop 3 1 read-only SYNCBUSY Synchronization Busy 7 1 read-only TC_COUNT8 - CC0 8-bit Counter Mode - - COUNT8 Compare/Capture 0x30 8 read-write n 0x0 0x0 CC Compare/Capture Value 0 8 TC_COUNT8 - CC1 8-bit Counter Mode - - COUNT8 Compare/Capture 0x49 8 read-write n 0x0 0x0 CC Compare/Capture Value 0 8 TC_COUNT8 - COUNT 8-bit Counter Mode - - COUNT8 Counter Value 0x10 8 read-write n 0x0 0x0 COUNT Counter Value 0 8 TC_COUNT8 - CTRLA 8-bit Counter Mode - - Control A 0x0 16 read-write n 0x0 0x0 ENABLE Enable 1 1 MODE TC Mode 2 2 MODESelect COUNT16 Counter in 16-bit mode 0x0 COUNT8 Counter in 8-bit mode 0x1 COUNT32 Counter in 32-bit mode 0x2 PRESCALER Prescaler 8 3 PRESCALERSelect DIV1 Prescaler: GCLK_TC 0x0 DIV2 Prescaler: GCLK_TC/2 0x1 DIV4 Prescaler: GCLK_TC/4 0x2 DIV8 Prescaler: GCLK_TC/8 0x3 DIV16 Prescaler: GCLK_TC/16 0x4 DIV64 Prescaler: GCLK_TC/64 0x5 DIV256 Prescaler: GCLK_TC/256 0x6 DIV1024 Prescaler: GCLK_TC/1024 0x7 PRESCSYNC Prescaler and Counter Synchronization 12 2 PRESCSYNCSelect GCLK Reload or reset the counter on next generic clock 0x0 PRESC Reload or reset the counter on next prescaler clock 0x1 RESYNC Reload or reset the counter on next generic clock. Reset the prescaler counter 0x2 RUNSTDBY Run in Standby 11 1 SWRST Software Reset 0 1 write-only WAVEGEN Waveform Generation Operation 5 2 WAVEGENSelect NFRQ None 0x0 MFRQ None 0x1 NPWM None 0x2 MPWM None 0x3 TC_COUNT8 - CTRLBCLR 8-bit Counter Mode - - Control B Clear 0x4 8 read-write n 0x0 0x0 CMD Command 6 2 CMDSelect NONE No action 0x0 RETRIGGER Force a start, restart or retrigger 0x1 STOP Force a stop 0x2 DIR Counter Direction 0 1 ONESHOT One-Shot 2 1 TC_COUNT8 - CTRLBSET 8-bit Counter Mode - - Control B Set 0x5 8 read-write n 0x0 0x0 CMD Command 6 2 CMDSelect NONE No action 0x0 RETRIGGER Force a start, restart or retrigger 0x1 STOP Force a stop 0x2 DIR Counter Direction 0 1 ONESHOT One-Shot 2 1 TC_COUNT8 - CTRLC 8-bit Counter Mode - - Control C 0x6 8 read-write n 0x0 0x0 CPTEN0 Capture Channel 0 Enable 4 1 CPTEN1 Capture Channel 1 Enable 5 1 INVEN0 Output Waveform 0 Invert Enable 0 1 INVEN1 Output Waveform 1 Invert Enable 1 1 TC_COUNT8 - DBGCTRL 8-bit Counter Mode - - Debug Control 0x8 8 read-write n 0x0 0x0 DBGRUN Debug Run Mode 0 1 TC_COUNT8 - EVCTRL 8-bit Counter Mode - - Event Control 0xA 16 read-write n 0x0 0x0 EVACT Event Action 0 3 EVACTSelect OFF Event action disabled 0x0 RETRIGGER Start, restart or retrigger TC on event 0x1 COUNT Count on event 0x2 START Start TC on event 0x3 PPW Period captured in CC0, pulse width in CC1 0x5 PWP Period captured in CC1, pulse width in CC0 0x6 MCEO0 Match or Capture Channel 0 Event Output Enable 12 1 MCEO1 Match or Capture Channel 1 Event Output Enable 13 1 OVFEO Overflow/Underflow Event Output Enable 8 1 TCEI TC Event Input 5 1 TCINV TC Inverted Event Input 4 1 TC_COUNT8 - INTENCLR 8-bit Counter Mode - - Interrupt Enable Clear 0xC 8 read-write n 0x0 0x0 ERR Error Interrupt Enable 1 1 MC0 Match or Capture Channel 0 Interrupt Enable 4 1 MC1 Match or Capture Channel 1 Interrupt Enable 5 1 OVF Overflow Interrupt Enable 0 1 SYNCRDY Synchronization Ready Interrupt Enable 3 1 TC_COUNT8 - INTENSET 8-bit Counter Mode - - Interrupt Enable Set 0xD 8 read-write n 0x0 0x0 ERR Error Interrupt Enable 1 1 MC0 Match or Capture Channel 0 Interrupt Enable 4 1 MC1 Match or Capture Channel 1 Interrupt Enable 5 1 OVF Overflow Interrupt Enable 0 1 SYNCRDY Synchronization Ready Interrupt Enable 3 1 TC_COUNT8 - INTFLAG 8-bit Counter Mode - - Interrupt Flag Status and Clear 0xE 8 read-write n 0x0 0x0 ERR Error 1 1 MC0 Match or Capture Channel 0 4 1 MC1 Match or Capture Channel 1 5 1 OVF Overflow 0 1 SYNCRDY Synchronization Ready 3 1 TC_COUNT8 - PER 8-bit Counter Mode - - COUNT8 Period Value 0x14 8 read-write n 0x0 0x0 PER Period Value 0 8 TC_COUNT8 - READREQ 8-bit Counter Mode - - Read Request 0x2 16 read-write n 0x0 0x0 ADDR Address 0 5 RCONT Read Continuously 14 1 RREQ Read Request 15 1 TC_COUNT8 - STATUS 8-bit Counter Mode - - Status 0xF 8 read-only n 0x0 0x0 SLAVE Slave 4 1 read-only STOP Stop 3 1 read-only SYNCBUSY Synchronization Busy 7 1 read-only TC4 Basic Timer Counter 4 TC 0x0 0x0 0x40 registers n TC4 19 TC4_INTREQ 19 CC0 COUNT16 Compare/Capture 0x18 16 read-write n 0x0 0x0 CC Compare/Capture Value 0 32 CC1 COUNT16 Compare/Capture 0x1A 16 read-write n 0x0 0x0 CC Compare/Capture Value 0 32 COUNT COUNT16 Counter Value 0x10 16 read-write n 0x0 0x0 COUNT Count Value 0 32 CTRLA Control A 0x0 16 read-write n 0x0 0x0 ENABLE Enable 1 1 MODE TC Mode 2 2 MODESelect COUNT16 Counter in 16-bit mode 0x0 COUNT8 Counter in 8-bit mode 0x1 COUNT32 Counter in 32-bit mode 0x2 PRESCALER Prescaler 8 3 PRESCALERSelect DIV1 Prescaler: GCLK_TC 0x0 DIV2 Prescaler: GCLK_TC/2 0x1 DIV4 Prescaler: GCLK_TC/4 0x2 DIV8 Prescaler: GCLK_TC/8 0x3 DIV16 Prescaler: GCLK_TC/16 0x4 DIV64 Prescaler: GCLK_TC/64 0x5 DIV256 Prescaler: GCLK_TC/256 0x6 DIV1024 Prescaler: GCLK_TC/1024 0x7 PRESCSYNC Prescaler and Counter Synchronization 12 2 PRESCSYNCSelect GCLK Reload or reset the counter on next generic clock 0x0 PRESC Reload or reset the counter on next prescaler clock 0x1 RESYNC Reload or reset the counter on next generic clock. Reset the prescaler counter 0x2 RUNSTDBY Run in Standby 11 1 SWRST Software Reset 0 1 write-only WAVEGEN Waveform Generation Operation 5 2 WAVEGENSelect NFRQ 0x0 MFRQ 0x1 NPWM 0x2 MPWM 0x3 CTRLBCLR Control B Clear 0x4 8 read-write n 0x0 0x0 CMD Command 6 2 CMDSelect NONE No action 0x0 RETRIGGER Force a start, restart or retrigger 0x1 STOP Force a stop 0x2 DIR Counter Direction 0 1 ONESHOT One-Shot 2 1 CTRLBSET Control B Set 0x5 8 read-write n 0x0 0x0 CMD Command 6 2 CMDSelect NONE No action 0x0 RETRIGGER Force a start, restart or retrigger 0x1 STOP Force a stop 0x2 DIR Counter Direction 0 1 ONESHOT One-Shot 2 1 CTRLC Control C 0x6 8 read-write n 0x0 0x0 CPTEN0 Capture Channel 0 Enable 4 1 CPTEN1 Capture Channel 1 Enable 5 1 INVEN0 Output Waveform 0 Invert Enable 0 1 INVEN1 Output Waveform 1 Invert Enable 1 1 DBGCTRL Debug Control 0x8 8 read-write n 0x0 0x0 DBGRUN Debug Run Mode 0 1 EVCTRL Event Control 0xA 16 read-write n 0x0 0x0 EVACT Event Action 0 3 EVACTSelect OFF Event action disabled 0x0 RETRIGGER Start, restart or retrigger TC on event 0x1 COUNT Count on event 0x2 START Start TC on event 0x3 PPW Period captured in CC0, pulse width in CC1 0x5 PWP Period captured in CC1, pulse width in CC0 0x6 MCEO0 Match or Capture Channel 0 Event Output Enable 12 1 MCEO1 Match or Capture Channel 1 Event Output Enable 13 1 OVFEO Overflow/Underflow Event Output Enable 8 1 TCEI TC Event Input 5 1 TCINV TC Inverted Event Input 4 1 INTENCLR Interrupt Enable Clear 0xC 8 read-write n 0x0 0x0 ERR Error Interrupt Enable 1 1 MC0 Match or Capture Channel 0 Interrupt Enable 4 1 MC1 Match or Capture Channel 1 Interrupt Enable 5 1 OVF Overflow Interrupt Enable 0 1 SYNCRDY Synchronization Ready Interrupt Enable 3 1 INTENSET Interrupt Enable Set 0xD 8 read-write n 0x0 0x0 ERR Error Interrupt Enable 1 1 MC0 Match or Capture Channel 0 Interrupt Enable 4 1 MC1 Match or Capture Channel 1 Interrupt Enable 5 1 OVF Overflow Interrupt Enable 0 1 SYNCRDY Synchronization Ready Interrupt Enable 3 1 INTFLAG Interrupt Flag Status and Clear 0xE 8 read-write n 0x0 0x0 ERR Error 1 1 MC0 Match or Capture Channel 0 4 1 MC1 Match or Capture Channel 1 5 1 OVF Overflow 0 1 SYNCRDY Synchronization Ready 3 1 PER COUNT8 Period Value 0x14 8 read-write n 0x0 0x0 PER Period Value 0 8 READREQ Read Request 0x2 16 read-write n 0x0 0x0 ADDR Address 0 5 RCONT Read Continuously 14 1 RREQ Read Request 15 1 STATUS Status 0xF 8 read-only n 0x0 0x0 SLAVE Slave 4 1 read-only STOP Stop 3 1 read-only SYNCBUSY Synchronization Busy 7 1 read-only TC_COUNT16 - CC0 16-bit Counter Mode - - COUNT16 Compare/Capture 0x30 16 read-write n 0x0 0x0 CC Compare/Capture Value 0 16 TC_COUNT16 - CC1 16-bit Counter Mode - - COUNT16 Compare/Capture 0x4A 16 read-write n 0x0 0x0 CC Compare/Capture Value 0 16 TC_COUNT16 - COUNT 16-bit Counter Mode - - COUNT16 Counter Value 0x10 16 read-write n 0x0 0x0 COUNT Count Value 0 16 TC_COUNT16 - CTRLA 16-bit Counter Mode - - Control A 0x0 16 read-write n 0x0 0x0 ENABLE Enable 1 1 MODE TC Mode 2 2 MODESelect COUNT16 Counter in 16-bit mode 0x0 COUNT8 Counter in 8-bit mode 0x1 COUNT32 Counter in 32-bit mode 0x2 PRESCALER Prescaler 8 3 PRESCALERSelect DIV1 Prescaler: GCLK_TC 0x0 DIV2 Prescaler: GCLK_TC/2 0x1 DIV4 Prescaler: GCLK_TC/4 0x2 DIV8 Prescaler: GCLK_TC/8 0x3 DIV16 Prescaler: GCLK_TC/16 0x4 DIV64 Prescaler: GCLK_TC/64 0x5 DIV256 Prescaler: GCLK_TC/256 0x6 DIV1024 Prescaler: GCLK_TC/1024 0x7 PRESCSYNC Prescaler and Counter Synchronization 12 2 PRESCSYNCSelect GCLK Reload or reset the counter on next generic clock 0x0 PRESC Reload or reset the counter on next prescaler clock 0x1 RESYNC Reload or reset the counter on next generic clock. Reset the prescaler counter 0x2 RUNSTDBY Run in Standby 11 1 SWRST Software Reset 0 1 write-only WAVEGEN Waveform Generation Operation 5 2 WAVEGENSelect NFRQ None 0x0 MFRQ None 0x1 NPWM None 0x2 MPWM None 0x3 TC_COUNT16 - CTRLBCLR 16-bit Counter Mode - - Control B Clear 0x4 8 read-write n 0x0 0x0 CMD Command 6 2 CMDSelect NONE No action 0x0 RETRIGGER Force a start, restart or retrigger 0x1 STOP Force a stop 0x2 DIR Counter Direction 0 1 ONESHOT One-Shot 2 1 TC_COUNT16 - CTRLBSET 16-bit Counter Mode - - Control B Set 0x5 8 read-write n 0x0 0x0 CMD Command 6 2 CMDSelect NONE No action 0x0 RETRIGGER Force a start, restart or retrigger 0x1 STOP Force a stop 0x2 DIR Counter Direction 0 1 ONESHOT One-Shot 2 1 TC_COUNT16 - CTRLC 16-bit Counter Mode - - Control C 0x6 8 read-write n 0x0 0x0 CPTEN0 Capture Channel 0 Enable 4 1 CPTEN1 Capture Channel 1 Enable 5 1 INVEN0 Output Waveform 0 Invert Enable 0 1 INVEN1 Output Waveform 1 Invert Enable 1 1 TC_COUNT16 - DBGCTRL 16-bit Counter Mode - - Debug Control 0x8 8 read-write n 0x0 0x0 DBGRUN Debug Run Mode 0 1 TC_COUNT16 - EVCTRL 16-bit Counter Mode - - Event Control 0xA 16 read-write n 0x0 0x0 EVACT Event Action 0 3 EVACTSelect OFF Event action disabled 0x0 RETRIGGER Start, restart or retrigger TC on event 0x1 COUNT Count on event 0x2 START Start TC on event 0x3 PPW Period captured in CC0, pulse width in CC1 0x5 PWP Period captured in CC1, pulse width in CC0 0x6 MCEO0 Match or Capture Channel 0 Event Output Enable 12 1 MCEO1 Match or Capture Channel 1 Event Output Enable 13 1 OVFEO Overflow/Underflow Event Output Enable 8 1 TCEI TC Event Input 5 1 TCINV TC Inverted Event Input 4 1 TC_COUNT16 - INTENCLR 16-bit Counter Mode - - Interrupt Enable Clear 0xC 8 read-write n 0x0 0x0 ERR Error Interrupt Enable 1 1 MC0 Match or Capture Channel 0 Interrupt Enable 4 1 MC1 Match or Capture Channel 1 Interrupt Enable 5 1 OVF Overflow Interrupt Enable 0 1 SYNCRDY Synchronization Ready Interrupt Enable 3 1 TC_COUNT16 - INTENSET 16-bit Counter Mode - - Interrupt Enable Set 0xD 8 read-write n 0x0 0x0 ERR Error Interrupt Enable 1 1 MC0 Match or Capture Channel 0 Interrupt Enable 4 1 MC1 Match or Capture Channel 1 Interrupt Enable 5 1 OVF Overflow Interrupt Enable 0 1 SYNCRDY Synchronization Ready Interrupt Enable 3 1 TC_COUNT16 - INTFLAG 16-bit Counter Mode - - Interrupt Flag Status and Clear 0xE 8 read-write n 0x0 0x0 ERR Error 1 1 MC0 Match or Capture Channel 0 4 1 MC1 Match or Capture Channel 1 5 1 OVF Overflow 0 1 SYNCRDY Synchronization Ready 3 1 TC_COUNT16 - READREQ 16-bit Counter Mode - - Read Request 0x2 16 read-write n 0x0 0x0 ADDR Address 0 5 RCONT Read Continuously 14 1 RREQ Read Request 15 1 TC_COUNT16 - STATUS 16-bit Counter Mode - - Status 0xF 8 read-only n 0x0 0x0 SLAVE Slave 4 1 read-only STOP Stop 3 1 read-only SYNCBUSY Synchronization Busy 7 1 read-only TC_COUNT32 - CC0 32-bit Counter Mode - - COUNT32 Compare/Capture 0x30 32 read-write n 0x0 0x0 CC Compare/Capture Value 0 32 TC_COUNT32 - CC1 32-bit Counter Mode - - COUNT32 Compare/Capture 0x4C 32 read-write n 0x0 0x0 CC Compare/Capture Value 0 32 TC_COUNT32 - COUNT 32-bit Counter Mode - - COUNT32 Counter Value 0x10 32 read-write n 0x0 0x0 COUNT Count Value 0 32 TC_COUNT32 - CTRLA 32-bit Counter Mode - - Control A 0x0 16 read-write n 0x0 0x0 ENABLE Enable 1 1 MODE TC Mode 2 2 MODESelect COUNT16 Counter in 16-bit mode 0x0 COUNT8 Counter in 8-bit mode 0x1 COUNT32 Counter in 32-bit mode 0x2 PRESCALER Prescaler 8 3 PRESCALERSelect DIV1 Prescaler: GCLK_TC 0x0 DIV2 Prescaler: GCLK_TC/2 0x1 DIV4 Prescaler: GCLK_TC/4 0x2 DIV8 Prescaler: GCLK_TC/8 0x3 DIV16 Prescaler: GCLK_TC/16 0x4 DIV64 Prescaler: GCLK_TC/64 0x5 DIV256 Prescaler: GCLK_TC/256 0x6 DIV1024 Prescaler: GCLK_TC/1024 0x7 PRESCSYNC Prescaler and Counter Synchronization 12 2 PRESCSYNCSelect GCLK Reload or reset the counter on next generic clock 0x0 PRESC Reload or reset the counter on next prescaler clock 0x1 RESYNC Reload or reset the counter on next generic clock. Reset the prescaler counter 0x2 RUNSTDBY Run in Standby 11 1 SWRST Software Reset 0 1 write-only WAVEGEN Waveform Generation Operation 5 2 WAVEGENSelect NFRQ None 0x0 MFRQ None 0x1 NPWM None 0x2 MPWM None 0x3 TC_COUNT32 - CTRLBCLR 32-bit Counter Mode - - Control B Clear 0x4 8 read-write n 0x0 0x0 CMD Command 6 2 CMDSelect NONE No action 0x0 RETRIGGER Force a start, restart or retrigger 0x1 STOP Force a stop 0x2 DIR Counter Direction 0 1 ONESHOT One-Shot 2 1 TC_COUNT32 - CTRLBSET 32-bit Counter Mode - - Control B Set 0x5 8 read-write n 0x0 0x0 CMD Command 6 2 CMDSelect NONE No action 0x0 RETRIGGER Force a start, restart or retrigger 0x1 STOP Force a stop 0x2 DIR Counter Direction 0 1 ONESHOT One-Shot 2 1 TC_COUNT32 - CTRLC 32-bit Counter Mode - - Control C 0x6 8 read-write n 0x0 0x0 CPTEN0 Capture Channel 0 Enable 4 1 CPTEN1 Capture Channel 1 Enable 5 1 INVEN0 Output Waveform 0 Invert Enable 0 1 INVEN1 Output Waveform 1 Invert Enable 1 1 TC_COUNT32 - DBGCTRL 32-bit Counter Mode - - Debug Control 0x8 8 read-write n 0x0 0x0 DBGRUN Debug Run Mode 0 1 TC_COUNT32 - EVCTRL 32-bit Counter Mode - - Event Control 0xA 16 read-write n 0x0 0x0 EVACT Event Action 0 3 EVACTSelect OFF Event action disabled 0x0 RETRIGGER Start, restart or retrigger TC on event 0x1 COUNT Count on event 0x2 START Start TC on event 0x3 PPW Period captured in CC0, pulse width in CC1 0x5 PWP Period captured in CC1, pulse width in CC0 0x6 MCEO0 Match or Capture Channel 0 Event Output Enable 12 1 MCEO1 Match or Capture Channel 1 Event Output Enable 13 1 OVFEO Overflow/Underflow Event Output Enable 8 1 TCEI TC Event Input 5 1 TCINV TC Inverted Event Input 4 1 TC_COUNT32 - INTENCLR 32-bit Counter Mode - - Interrupt Enable Clear 0xC 8 read-write n 0x0 0x0 ERR Error Interrupt Enable 1 1 MC0 Match or Capture Channel 0 Interrupt Enable 4 1 MC1 Match or Capture Channel 1 Interrupt Enable 5 1 OVF Overflow Interrupt Enable 0 1 SYNCRDY Synchronization Ready Interrupt Enable 3 1 TC_COUNT32 - INTENSET 32-bit Counter Mode - - Interrupt Enable Set 0xD 8 read-write n 0x0 0x0 ERR Error Interrupt Enable 1 1 MC0 Match or Capture Channel 0 Interrupt Enable 4 1 MC1 Match or Capture Channel 1 Interrupt Enable 5 1 OVF Overflow Interrupt Enable 0 1 SYNCRDY Synchronization Ready Interrupt Enable 3 1 TC_COUNT32 - INTFLAG 32-bit Counter Mode - - Interrupt Flag Status and Clear 0xE 8 read-write n 0x0 0x0 ERR Error 1 1 MC0 Match or Capture Channel 0 4 1 MC1 Match or Capture Channel 1 5 1 OVF Overflow 0 1 SYNCRDY Synchronization Ready 3 1 TC_COUNT32 - READREQ 32-bit Counter Mode - - Read Request 0x2 16 read-write n 0x0 0x0 ADDR Address 0 5 RCONT Read Continuously 14 1 RREQ Read Request 15 1 TC_COUNT32 - STATUS 32-bit Counter Mode - - Status 0xF 8 read-only n 0x0 0x0 SLAVE Slave 4 1 read-only STOP Stop 3 1 read-only SYNCBUSY Synchronization Busy 7 1 read-only TC_COUNT8 - CC0 8-bit Counter Mode - - COUNT8 Compare/Capture 0x30 8 read-write n 0x0 0x0 CC Compare/Capture Value 0 8 TC_COUNT8 - CC1 8-bit Counter Mode - - COUNT8 Compare/Capture 0x49 8 read-write n 0x0 0x0 CC Compare/Capture Value 0 8 TC_COUNT8 - COUNT 8-bit Counter Mode - - COUNT8 Counter Value 0x10 8 read-write n 0x0 0x0 COUNT Counter Value 0 8 TC_COUNT8 - CTRLA 8-bit Counter Mode - - Control A 0x0 16 read-write n 0x0 0x0 ENABLE Enable 1 1 MODE TC Mode 2 2 MODESelect COUNT16 Counter in 16-bit mode 0x0 COUNT8 Counter in 8-bit mode 0x1 COUNT32 Counter in 32-bit mode 0x2 PRESCALER Prescaler 8 3 PRESCALERSelect DIV1 Prescaler: GCLK_TC 0x0 DIV2 Prescaler: GCLK_TC/2 0x1 DIV4 Prescaler: GCLK_TC/4 0x2 DIV8 Prescaler: GCLK_TC/8 0x3 DIV16 Prescaler: GCLK_TC/16 0x4 DIV64 Prescaler: GCLK_TC/64 0x5 DIV256 Prescaler: GCLK_TC/256 0x6 DIV1024 Prescaler: GCLK_TC/1024 0x7 PRESCSYNC Prescaler and Counter Synchronization 12 2 PRESCSYNCSelect GCLK Reload or reset the counter on next generic clock 0x0 PRESC Reload or reset the counter on next prescaler clock 0x1 RESYNC Reload or reset the counter on next generic clock. Reset the prescaler counter 0x2 RUNSTDBY Run in Standby 11 1 SWRST Software Reset 0 1 write-only WAVEGEN Waveform Generation Operation 5 2 WAVEGENSelect NFRQ None 0x0 MFRQ None 0x1 NPWM None 0x2 MPWM None 0x3 TC_COUNT8 - CTRLBCLR 8-bit Counter Mode - - Control B Clear 0x4 8 read-write n 0x0 0x0 CMD Command 6 2 CMDSelect NONE No action 0x0 RETRIGGER Force a start, restart or retrigger 0x1 STOP Force a stop 0x2 DIR Counter Direction 0 1 ONESHOT One-Shot 2 1 TC_COUNT8 - CTRLBSET 8-bit Counter Mode - - Control B Set 0x5 8 read-write n 0x0 0x0 CMD Command 6 2 CMDSelect NONE No action 0x0 RETRIGGER Force a start, restart or retrigger 0x1 STOP Force a stop 0x2 DIR Counter Direction 0 1 ONESHOT One-Shot 2 1 TC_COUNT8 - CTRLC 8-bit Counter Mode - - Control C 0x6 8 read-write n 0x0 0x0 CPTEN0 Capture Channel 0 Enable 4 1 CPTEN1 Capture Channel 1 Enable 5 1 INVEN0 Output Waveform 0 Invert Enable 0 1 INVEN1 Output Waveform 1 Invert Enable 1 1 TC_COUNT8 - DBGCTRL 8-bit Counter Mode - - Debug Control 0x8 8 read-write n 0x0 0x0 DBGRUN Debug Run Mode 0 1 TC_COUNT8 - EVCTRL 8-bit Counter Mode - - Event Control 0xA 16 read-write n 0x0 0x0 EVACT Event Action 0 3 EVACTSelect OFF Event action disabled 0x0 RETRIGGER Start, restart or retrigger TC on event 0x1 COUNT Count on event 0x2 START Start TC on event 0x3 PPW Period captured in CC0, pulse width in CC1 0x5 PWP Period captured in CC1, pulse width in CC0 0x6 MCEO0 Match or Capture Channel 0 Event Output Enable 12 1 MCEO1 Match or Capture Channel 1 Event Output Enable 13 1 OVFEO Overflow/Underflow Event Output Enable 8 1 TCEI TC Event Input 5 1 TCINV TC Inverted Event Input 4 1 TC_COUNT8 - INTENCLR 8-bit Counter Mode - - Interrupt Enable Clear 0xC 8 read-write n 0x0 0x0 ERR Error Interrupt Enable 1 1 MC0 Match or Capture Channel 0 Interrupt Enable 4 1 MC1 Match or Capture Channel 1 Interrupt Enable 5 1 OVF Overflow Interrupt Enable 0 1 SYNCRDY Synchronization Ready Interrupt Enable 3 1 TC_COUNT8 - INTENSET 8-bit Counter Mode - - Interrupt Enable Set 0xD 8 read-write n 0x0 0x0 ERR Error Interrupt Enable 1 1 MC0 Match or Capture Channel 0 Interrupt Enable 4 1 MC1 Match or Capture Channel 1 Interrupt Enable 5 1 OVF Overflow Interrupt Enable 0 1 SYNCRDY Synchronization Ready Interrupt Enable 3 1 TC_COUNT8 - INTFLAG 8-bit Counter Mode - - Interrupt Flag Status and Clear 0xE 8 read-write n 0x0 0x0 ERR Error 1 1 MC0 Match or Capture Channel 0 4 1 MC1 Match or Capture Channel 1 5 1 OVF Overflow 0 1 SYNCRDY Synchronization Ready 3 1 TC_COUNT8 - PER 8-bit Counter Mode - - COUNT8 Period Value 0x14 8 read-write n 0x0 0x0 PER Period Value 0 8 TC_COUNT8 - READREQ 8-bit Counter Mode - - Read Request 0x2 16 read-write n 0x0 0x0 ADDR Address 0 5 RCONT Read Continuously 14 1 RREQ Read Request 15 1 TC_COUNT8 - STATUS 8-bit Counter Mode - - Status 0xF 8 read-only n 0x0 0x0 SLAVE Slave 4 1 read-only STOP Stop 3 1 read-only SYNCBUSY Synchronization Busy 7 1 read-only TC5 Basic Timer Counter 5 TC 0x0 0x0 0x40 registers n TC5 20 TC5_INTREQ 20 CC0 COUNT16 Compare/Capture 0x18 16 read-write n 0x0 0x0 CC Compare/Capture Value 0 32 CC1 COUNT16 Compare/Capture 0x1A 16 read-write n 0x0 0x0 CC Compare/Capture Value 0 32 COUNT COUNT16 Counter Value 0x10 16 read-write n 0x0 0x0 COUNT Count Value 0 32 CTRLA Control A 0x0 16 read-write n 0x0 0x0 ENABLE Enable 1 1 MODE TC Mode 2 2 MODESelect COUNT16 Counter in 16-bit mode 0x0 COUNT8 Counter in 8-bit mode 0x1 COUNT32 Counter in 32-bit mode 0x2 PRESCALER Prescaler 8 3 PRESCALERSelect DIV1 Prescaler: GCLK_TC 0x0 DIV2 Prescaler: GCLK_TC/2 0x1 DIV4 Prescaler: GCLK_TC/4 0x2 DIV8 Prescaler: GCLK_TC/8 0x3 DIV16 Prescaler: GCLK_TC/16 0x4 DIV64 Prescaler: GCLK_TC/64 0x5 DIV256 Prescaler: GCLK_TC/256 0x6 DIV1024 Prescaler: GCLK_TC/1024 0x7 PRESCSYNC Prescaler and Counter Synchronization 12 2 PRESCSYNCSelect GCLK Reload or reset the counter on next generic clock 0x0 PRESC Reload or reset the counter on next prescaler clock 0x1 RESYNC Reload or reset the counter on next generic clock. Reset the prescaler counter 0x2 RUNSTDBY Run in Standby 11 1 SWRST Software Reset 0 1 write-only WAVEGEN Waveform Generation Operation 5 2 WAVEGENSelect NFRQ 0x0 MFRQ 0x1 NPWM 0x2 MPWM 0x3 CTRLBCLR Control B Clear 0x4 8 read-write n 0x0 0x0 CMD Command 6 2 CMDSelect NONE No action 0x0 RETRIGGER Force a start, restart or retrigger 0x1 STOP Force a stop 0x2 DIR Counter Direction 0 1 ONESHOT One-Shot 2 1 CTRLBSET Control B Set 0x5 8 read-write n 0x0 0x0 CMD Command 6 2 CMDSelect NONE No action 0x0 RETRIGGER Force a start, restart or retrigger 0x1 STOP Force a stop 0x2 DIR Counter Direction 0 1 ONESHOT One-Shot 2 1 CTRLC Control C 0x6 8 read-write n 0x0 0x0 CPTEN0 Capture Channel 0 Enable 4 1 CPTEN1 Capture Channel 1 Enable 5 1 INVEN0 Output Waveform 0 Invert Enable 0 1 INVEN1 Output Waveform 1 Invert Enable 1 1 DBGCTRL Debug Control 0x8 8 read-write n 0x0 0x0 DBGRUN Debug Run Mode 0 1 EVCTRL Event Control 0xA 16 read-write n 0x0 0x0 EVACT Event Action 0 3 EVACTSelect OFF Event action disabled 0x0 RETRIGGER Start, restart or retrigger TC on event 0x1 COUNT Count on event 0x2 START Start TC on event 0x3 PPW Period captured in CC0, pulse width in CC1 0x5 PWP Period captured in CC1, pulse width in CC0 0x6 MCEO0 Match or Capture Channel 0 Event Output Enable 12 1 MCEO1 Match or Capture Channel 1 Event Output Enable 13 1 OVFEO Overflow/Underflow Event Output Enable 8 1 TCEI TC Event Input 5 1 TCINV TC Inverted Event Input 4 1 INTENCLR Interrupt Enable Clear 0xC 8 read-write n 0x0 0x0 ERR Error Interrupt Enable 1 1 MC0 Match or Capture Channel 0 Interrupt Enable 4 1 MC1 Match or Capture Channel 1 Interrupt Enable 5 1 OVF Overflow Interrupt Enable 0 1 SYNCRDY Synchronization Ready Interrupt Enable 3 1 INTENSET Interrupt Enable Set 0xD 8 read-write n 0x0 0x0 ERR Error Interrupt Enable 1 1 MC0 Match or Capture Channel 0 Interrupt Enable 4 1 MC1 Match or Capture Channel 1 Interrupt Enable 5 1 OVF Overflow Interrupt Enable 0 1 SYNCRDY Synchronization Ready Interrupt Enable 3 1 INTFLAG Interrupt Flag Status and Clear 0xE 8 read-write n 0x0 0x0 ERR Error 1 1 MC0 Match or Capture Channel 0 4 1 MC1 Match or Capture Channel 1 5 1 OVF Overflow 0 1 SYNCRDY Synchronization Ready 3 1 PER COUNT8 Period Value 0x14 8 read-write n 0x0 0x0 PER Period Value 0 8 READREQ Read Request 0x2 16 read-write n 0x0 0x0 ADDR Address 0 5 RCONT Read Continuously 14 1 RREQ Read Request 15 1 STATUS Status 0xF 8 read-only n 0x0 0x0 SLAVE Slave 4 1 read-only STOP Stop 3 1 read-only SYNCBUSY Synchronization Busy 7 1 read-only TC_COUNT16 - CC0 16-bit Counter Mode - - COUNT16 Compare/Capture 0x30 16 read-write n 0x0 0x0 CC Compare/Capture Value 0 16 TC_COUNT16 - CC1 16-bit Counter Mode - - COUNT16 Compare/Capture 0x4A 16 read-write n 0x0 0x0 CC Compare/Capture Value 0 16 TC_COUNT16 - COUNT 16-bit Counter Mode - - COUNT16 Counter Value 0x10 16 read-write n 0x0 0x0 COUNT Count Value 0 16 TC_COUNT16 - CTRLA 16-bit Counter Mode - - Control A 0x0 16 read-write n 0x0 0x0 ENABLE Enable 1 1 MODE TC Mode 2 2 MODESelect COUNT16 Counter in 16-bit mode 0x0 COUNT8 Counter in 8-bit mode 0x1 COUNT32 Counter in 32-bit mode 0x2 PRESCALER Prescaler 8 3 PRESCALERSelect DIV1 Prescaler: GCLK_TC 0x0 DIV2 Prescaler: GCLK_TC/2 0x1 DIV4 Prescaler: GCLK_TC/4 0x2 DIV8 Prescaler: GCLK_TC/8 0x3 DIV16 Prescaler: GCLK_TC/16 0x4 DIV64 Prescaler: GCLK_TC/64 0x5 DIV256 Prescaler: GCLK_TC/256 0x6 DIV1024 Prescaler: GCLK_TC/1024 0x7 PRESCSYNC Prescaler and Counter Synchronization 12 2 PRESCSYNCSelect GCLK Reload or reset the counter on next generic clock 0x0 PRESC Reload or reset the counter on next prescaler clock 0x1 RESYNC Reload or reset the counter on next generic clock. Reset the prescaler counter 0x2 RUNSTDBY Run in Standby 11 1 SWRST Software Reset 0 1 write-only WAVEGEN Waveform Generation Operation 5 2 WAVEGENSelect NFRQ None 0x0 MFRQ None 0x1 NPWM None 0x2 MPWM None 0x3 TC_COUNT16 - CTRLBCLR 16-bit Counter Mode - - Control B Clear 0x4 8 read-write n 0x0 0x0 CMD Command 6 2 CMDSelect NONE No action 0x0 RETRIGGER Force a start, restart or retrigger 0x1 STOP Force a stop 0x2 DIR Counter Direction 0 1 ONESHOT One-Shot 2 1 TC_COUNT16 - CTRLBSET 16-bit Counter Mode - - Control B Set 0x5 8 read-write n 0x0 0x0 CMD Command 6 2 CMDSelect NONE No action 0x0 RETRIGGER Force a start, restart or retrigger 0x1 STOP Force a stop 0x2 DIR Counter Direction 0 1 ONESHOT One-Shot 2 1 TC_COUNT16 - CTRLC 16-bit Counter Mode - - Control C 0x6 8 read-write n 0x0 0x0 CPTEN0 Capture Channel 0 Enable 4 1 CPTEN1 Capture Channel 1 Enable 5 1 INVEN0 Output Waveform 0 Invert Enable 0 1 INVEN1 Output Waveform 1 Invert Enable 1 1 TC_COUNT16 - DBGCTRL 16-bit Counter Mode - - Debug Control 0x8 8 read-write n 0x0 0x0 DBGRUN Debug Run Mode 0 1 TC_COUNT16 - EVCTRL 16-bit Counter Mode - - Event Control 0xA 16 read-write n 0x0 0x0 EVACT Event Action 0 3 EVACTSelect OFF Event action disabled 0x0 RETRIGGER Start, restart or retrigger TC on event 0x1 COUNT Count on event 0x2 START Start TC on event 0x3 PPW Period captured in CC0, pulse width in CC1 0x5 PWP Period captured in CC1, pulse width in CC0 0x6 MCEO0 Match or Capture Channel 0 Event Output Enable 12 1 MCEO1 Match or Capture Channel 1 Event Output Enable 13 1 OVFEO Overflow/Underflow Event Output Enable 8 1 TCEI TC Event Input 5 1 TCINV TC Inverted Event Input 4 1 TC_COUNT16 - INTENCLR 16-bit Counter Mode - - Interrupt Enable Clear 0xC 8 read-write n 0x0 0x0 ERR Error Interrupt Enable 1 1 MC0 Match or Capture Channel 0 Interrupt Enable 4 1 MC1 Match or Capture Channel 1 Interrupt Enable 5 1 OVF Overflow Interrupt Enable 0 1 SYNCRDY Synchronization Ready Interrupt Enable 3 1 TC_COUNT16 - INTENSET 16-bit Counter Mode - - Interrupt Enable Set 0xD 8 read-write n 0x0 0x0 ERR Error Interrupt Enable 1 1 MC0 Match or Capture Channel 0 Interrupt Enable 4 1 MC1 Match or Capture Channel 1 Interrupt Enable 5 1 OVF Overflow Interrupt Enable 0 1 SYNCRDY Synchronization Ready Interrupt Enable 3 1 TC_COUNT16 - INTFLAG 16-bit Counter Mode - - Interrupt Flag Status and Clear 0xE 8 read-write n 0x0 0x0 ERR Error 1 1 MC0 Match or Capture Channel 0 4 1 MC1 Match or Capture Channel 1 5 1 OVF Overflow 0 1 SYNCRDY Synchronization Ready 3 1 TC_COUNT16 - READREQ 16-bit Counter Mode - - Read Request 0x2 16 read-write n 0x0 0x0 ADDR Address 0 5 RCONT Read Continuously 14 1 RREQ Read Request 15 1 TC_COUNT16 - STATUS 16-bit Counter Mode - - Status 0xF 8 read-only n 0x0 0x0 SLAVE Slave 4 1 read-only STOP Stop 3 1 read-only SYNCBUSY Synchronization Busy 7 1 read-only TC_COUNT32 - CC0 32-bit Counter Mode - - COUNT32 Compare/Capture 0x30 32 read-write n 0x0 0x0 CC Compare/Capture Value 0 32 TC_COUNT32 - CC1 32-bit Counter Mode - - COUNT32 Compare/Capture 0x4C 32 read-write n 0x0 0x0 CC Compare/Capture Value 0 32 TC_COUNT32 - COUNT 32-bit Counter Mode - - COUNT32 Counter Value 0x10 32 read-write n 0x0 0x0 COUNT Count Value 0 32 TC_COUNT32 - CTRLA 32-bit Counter Mode - - Control A 0x0 16 read-write n 0x0 0x0 ENABLE Enable 1 1 MODE TC Mode 2 2 MODESelect COUNT16 Counter in 16-bit mode 0x0 COUNT8 Counter in 8-bit mode 0x1 COUNT32 Counter in 32-bit mode 0x2 PRESCALER Prescaler 8 3 PRESCALERSelect DIV1 Prescaler: GCLK_TC 0x0 DIV2 Prescaler: GCLK_TC/2 0x1 DIV4 Prescaler: GCLK_TC/4 0x2 DIV8 Prescaler: GCLK_TC/8 0x3 DIV16 Prescaler: GCLK_TC/16 0x4 DIV64 Prescaler: GCLK_TC/64 0x5 DIV256 Prescaler: GCLK_TC/256 0x6 DIV1024 Prescaler: GCLK_TC/1024 0x7 PRESCSYNC Prescaler and Counter Synchronization 12 2 PRESCSYNCSelect GCLK Reload or reset the counter on next generic clock 0x0 PRESC Reload or reset the counter on next prescaler clock 0x1 RESYNC Reload or reset the counter on next generic clock. Reset the prescaler counter 0x2 RUNSTDBY Run in Standby 11 1 SWRST Software Reset 0 1 write-only WAVEGEN Waveform Generation Operation 5 2 WAVEGENSelect NFRQ None 0x0 MFRQ None 0x1 NPWM None 0x2 MPWM None 0x3 TC_COUNT32 - CTRLBCLR 32-bit Counter Mode - - Control B Clear 0x4 8 read-write n 0x0 0x0 CMD Command 6 2 CMDSelect NONE No action 0x0 RETRIGGER Force a start, restart or retrigger 0x1 STOP Force a stop 0x2 DIR Counter Direction 0 1 ONESHOT One-Shot 2 1 TC_COUNT32 - CTRLBSET 32-bit Counter Mode - - Control B Set 0x5 8 read-write n 0x0 0x0 CMD Command 6 2 CMDSelect NONE No action 0x0 RETRIGGER Force a start, restart or retrigger 0x1 STOP Force a stop 0x2 DIR Counter Direction 0 1 ONESHOT One-Shot 2 1 TC_COUNT32 - CTRLC 32-bit Counter Mode - - Control C 0x6 8 read-write n 0x0 0x0 CPTEN0 Capture Channel 0 Enable 4 1 CPTEN1 Capture Channel 1 Enable 5 1 INVEN0 Output Waveform 0 Invert Enable 0 1 INVEN1 Output Waveform 1 Invert Enable 1 1 TC_COUNT32 - DBGCTRL 32-bit Counter Mode - - Debug Control 0x8 8 read-write n 0x0 0x0 DBGRUN Debug Run Mode 0 1 TC_COUNT32 - EVCTRL 32-bit Counter Mode - - Event Control 0xA 16 read-write n 0x0 0x0 EVACT Event Action 0 3 EVACTSelect OFF Event action disabled 0x0 RETRIGGER Start, restart or retrigger TC on event 0x1 COUNT Count on event 0x2 START Start TC on event 0x3 PPW Period captured in CC0, pulse width in CC1 0x5 PWP Period captured in CC1, pulse width in CC0 0x6 MCEO0 Match or Capture Channel 0 Event Output Enable 12 1 MCEO1 Match or Capture Channel 1 Event Output Enable 13 1 OVFEO Overflow/Underflow Event Output Enable 8 1 TCEI TC Event Input 5 1 TCINV TC Inverted Event Input 4 1 TC_COUNT32 - INTENCLR 32-bit Counter Mode - - Interrupt Enable Clear 0xC 8 read-write n 0x0 0x0 ERR Error Interrupt Enable 1 1 MC0 Match or Capture Channel 0 Interrupt Enable 4 1 MC1 Match or Capture Channel 1 Interrupt Enable 5 1 OVF Overflow Interrupt Enable 0 1 SYNCRDY Synchronization Ready Interrupt Enable 3 1 TC_COUNT32 - INTENSET 32-bit Counter Mode - - Interrupt Enable Set 0xD 8 read-write n 0x0 0x0 ERR Error Interrupt Enable 1 1 MC0 Match or Capture Channel 0 Interrupt Enable 4 1 MC1 Match or Capture Channel 1 Interrupt Enable 5 1 OVF Overflow Interrupt Enable 0 1 SYNCRDY Synchronization Ready Interrupt Enable 3 1 TC_COUNT32 - INTFLAG 32-bit Counter Mode - - Interrupt Flag Status and Clear 0xE 8 read-write n 0x0 0x0 ERR Error 1 1 MC0 Match or Capture Channel 0 4 1 MC1 Match or Capture Channel 1 5 1 OVF Overflow 0 1 SYNCRDY Synchronization Ready 3 1 TC_COUNT32 - READREQ 32-bit Counter Mode - - Read Request 0x2 16 read-write n 0x0 0x0 ADDR Address 0 5 RCONT Read Continuously 14 1 RREQ Read Request 15 1 TC_COUNT32 - STATUS 32-bit Counter Mode - - Status 0xF 8 read-only n 0x0 0x0 SLAVE Slave 4 1 read-only STOP Stop 3 1 read-only SYNCBUSY Synchronization Busy 7 1 read-only TC_COUNT8 - CC0 8-bit Counter Mode - - COUNT8 Compare/Capture 0x30 8 read-write n 0x0 0x0 CC Compare/Capture Value 0 8 TC_COUNT8 - CC1 8-bit Counter Mode - - COUNT8 Compare/Capture 0x49 8 read-write n 0x0 0x0 CC Compare/Capture Value 0 8 TC_COUNT8 - COUNT 8-bit Counter Mode - - COUNT8 Counter Value 0x10 8 read-write n 0x0 0x0 COUNT Counter Value 0 8 TC_COUNT8 - CTRLA 8-bit Counter Mode - - Control A 0x0 16 read-write n 0x0 0x0 ENABLE Enable 1 1 MODE TC Mode 2 2 MODESelect COUNT16 Counter in 16-bit mode 0x0 COUNT8 Counter in 8-bit mode 0x1 COUNT32 Counter in 32-bit mode 0x2 PRESCALER Prescaler 8 3 PRESCALERSelect DIV1 Prescaler: GCLK_TC 0x0 DIV2 Prescaler: GCLK_TC/2 0x1 DIV4 Prescaler: GCLK_TC/4 0x2 DIV8 Prescaler: GCLK_TC/8 0x3 DIV16 Prescaler: GCLK_TC/16 0x4 DIV64 Prescaler: GCLK_TC/64 0x5 DIV256 Prescaler: GCLK_TC/256 0x6 DIV1024 Prescaler: GCLK_TC/1024 0x7 PRESCSYNC Prescaler and Counter Synchronization 12 2 PRESCSYNCSelect GCLK Reload or reset the counter on next generic clock 0x0 PRESC Reload or reset the counter on next prescaler clock 0x1 RESYNC Reload or reset the counter on next generic clock. Reset the prescaler counter 0x2 RUNSTDBY Run in Standby 11 1 SWRST Software Reset 0 1 write-only WAVEGEN Waveform Generation Operation 5 2 WAVEGENSelect NFRQ None 0x0 MFRQ None 0x1 NPWM None 0x2 MPWM None 0x3 TC_COUNT8 - CTRLBCLR 8-bit Counter Mode - - Control B Clear 0x4 8 read-write n 0x0 0x0 CMD Command 6 2 CMDSelect NONE No action 0x0 RETRIGGER Force a start, restart or retrigger 0x1 STOP Force a stop 0x2 DIR Counter Direction 0 1 ONESHOT One-Shot 2 1 TC_COUNT8 - CTRLBSET 8-bit Counter Mode - - Control B Set 0x5 8 read-write n 0x0 0x0 CMD Command 6 2 CMDSelect NONE No action 0x0 RETRIGGER Force a start, restart or retrigger 0x1 STOP Force a stop 0x2 DIR Counter Direction 0 1 ONESHOT One-Shot 2 1 TC_COUNT8 - CTRLC 8-bit Counter Mode - - Control C 0x6 8 read-write n 0x0 0x0 CPTEN0 Capture Channel 0 Enable 4 1 CPTEN1 Capture Channel 1 Enable 5 1 INVEN0 Output Waveform 0 Invert Enable 0 1 INVEN1 Output Waveform 1 Invert Enable 1 1 TC_COUNT8 - DBGCTRL 8-bit Counter Mode - - Debug Control 0x8 8 read-write n 0x0 0x0 DBGRUN Debug Run Mode 0 1 TC_COUNT8 - EVCTRL 8-bit Counter Mode - - Event Control 0xA 16 read-write n 0x0 0x0 EVACT Event Action 0 3 EVACTSelect OFF Event action disabled 0x0 RETRIGGER Start, restart or retrigger TC on event 0x1 COUNT Count on event 0x2 START Start TC on event 0x3 PPW Period captured in CC0, pulse width in CC1 0x5 PWP Period captured in CC1, pulse width in CC0 0x6 MCEO0 Match or Capture Channel 0 Event Output Enable 12 1 MCEO1 Match or Capture Channel 1 Event Output Enable 13 1 OVFEO Overflow/Underflow Event Output Enable 8 1 TCEI TC Event Input 5 1 TCINV TC Inverted Event Input 4 1 TC_COUNT8 - INTENCLR 8-bit Counter Mode - - Interrupt Enable Clear 0xC 8 read-write n 0x0 0x0 ERR Error Interrupt Enable 1 1 MC0 Match or Capture Channel 0 Interrupt Enable 4 1 MC1 Match or Capture Channel 1 Interrupt Enable 5 1 OVF Overflow Interrupt Enable 0 1 SYNCRDY Synchronization Ready Interrupt Enable 3 1 TC_COUNT8 - INTENSET 8-bit Counter Mode - - Interrupt Enable Set 0xD 8 read-write n 0x0 0x0 ERR Error Interrupt Enable 1 1 MC0 Match or Capture Channel 0 Interrupt Enable 4 1 MC1 Match or Capture Channel 1 Interrupt Enable 5 1 OVF Overflow Interrupt Enable 0 1 SYNCRDY Synchronization Ready Interrupt Enable 3 1 TC_COUNT8 - INTFLAG 8-bit Counter Mode - - Interrupt Flag Status and Clear 0xE 8 read-write n 0x0 0x0 ERR Error 1 1 MC0 Match or Capture Channel 0 4 1 MC1 Match or Capture Channel 1 5 1 OVF Overflow 0 1 SYNCRDY Synchronization Ready 3 1 TC_COUNT8 - PER 8-bit Counter Mode - - COUNT8 Period Value 0x14 8 read-write n 0x0 0x0 PER Period Value 0 8 TC_COUNT8 - READREQ 8-bit Counter Mode - - Read Request 0x2 16 read-write n 0x0 0x0 ADDR Address 0 5 RCONT Read Continuously 14 1 RREQ Read Request 15 1 TC_COUNT8 - STATUS 8-bit Counter Mode - - Status 0xF 8 read-only n 0x0 0x0 SLAVE Slave 4 1 read-only STOP Stop 3 1 read-only SYNCBUSY Synchronization Busy 7 1 read-only TCC0 Timer Counter Control 0 TCC 0x0 0x0 0x80 registers n TCC0 15 TCC0_INTREQ 15 CC0 Compare and Capture 0x44 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 0 24 CC0_DITH4 Compare and Capture CC%s 0x44 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 4 20 DITHERCY Dithering Cycle Number 0 4 CC0_DITH5 Compare and Capture CC%s 0x44 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 5 19 DITHERCY Dithering Cycle Number 0 5 CC0_DITH6 Compare and Capture CC%s 0x44 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 6 18 DITHERCY Dithering Cycle Number 0 6 CC1 Compare and Capture 0x48 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 0 24 CC1_DITH4 Compare and Capture CC%s 0x48 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 4 20 DITHERCY Dithering Cycle Number 0 4 CC1_DITH5 Compare and Capture CC%s 0x48 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 5 19 DITHERCY Dithering Cycle Number 0 5 CC1_DITH6 Compare and Capture CC%s 0x48 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 6 18 DITHERCY Dithering Cycle Number 0 6 CC2 Compare and Capture 0x4C 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 0 24 CC2_DITH4 Compare and Capture CC%s 0x4C 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 4 20 DITHERCY Dithering Cycle Number 0 4 CC2_DITH5 Compare and Capture CC%s 0x4C 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 5 19 DITHERCY Dithering Cycle Number 0 5 CC2_DITH6 Compare and Capture CC%s 0x4C 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 6 18 DITHERCY Dithering Cycle Number 0 6 CC3 Compare and Capture 0x50 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 0 24 CC3_DITH4 Compare and Capture CC%s 0x50 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 4 20 DITHERCY Dithering Cycle Number 0 4 CC3_DITH5 Compare and Capture CC%s 0x50 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 5 19 DITHERCY Dithering Cycle Number 0 5 CC3_DITH6 Compare and Capture CC%s 0x50 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 6 18 DITHERCY Dithering Cycle Number 0 6 CCB0 Compare and Capture Buffer 0x70 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 0 24 CCB0_DITH4 Compare and Capture Buffer CCB%s 0x70 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 4 20 DITHERCYB Dithering Buffer Cycle Number 0 4 CCB0_DITH5 Compare and Capture Buffer CCB%s 0x70 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 5 19 DITHERCYB Dithering Buffer Cycle Number 0 5 CCB0_DITH6 Compare and Capture Buffer CCB%s 0x70 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 6 18 DITHERCYB Dithering Buffer Cycle Number 0 6 CCB1 Compare and Capture Buffer 0x74 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 0 24 CCB1_DITH4 Compare and Capture Buffer CCB%s 0x74 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 4 20 DITHERCYB Dithering Buffer Cycle Number 0 4 CCB1_DITH5 Compare and Capture Buffer CCB%s 0x74 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 5 19 DITHERCYB Dithering Buffer Cycle Number 0 5 CCB1_DITH6 Compare and Capture Buffer CCB%s 0x74 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 6 18 DITHERCYB Dithering Buffer Cycle Number 0 6 CCB2 Compare and Capture Buffer 0x78 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 0 24 CCB2_DITH4 Compare and Capture Buffer CCB%s 0x78 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 4 20 DITHERCYB Dithering Buffer Cycle Number 0 4 CCB2_DITH5 Compare and Capture Buffer CCB%s 0x78 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 5 19 DITHERCYB Dithering Buffer Cycle Number 0 5 CCB2_DITH6 Compare and Capture Buffer CCB%s 0x78 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 6 18 DITHERCYB Dithering Buffer Cycle Number 0 6 CCB3 Compare and Capture Buffer 0x7C 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 0 24 CCB3_DITH4 Compare and Capture Buffer CCB%s 0x7C 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 4 20 DITHERCYB Dithering Buffer Cycle Number 0 4 CCB3_DITH5 Compare and Capture Buffer CCB%s 0x7C 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 5 19 DITHERCYB Dithering Buffer Cycle Number 0 5 CCB3_DITH6 Compare and Capture Buffer CCB%s 0x7C 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 6 18 DITHERCYB Dithering Buffer Cycle Number 0 6 COUNT Count 0x34 32 read-write n 0x0 0x0 COUNT Counter Value 0 24 COUNT_DITH4 Count COUNT 0x34 32 read-write n 0x0 0x0 COUNT Counter Value 4 20 COUNT_DITH5 Count COUNT 0x34 32 read-write n 0x0 0x0 COUNT Counter Value 5 19 COUNT_DITH6 Count COUNT 0x34 32 read-write n 0x0 0x0 COUNT Counter Value 6 18 CTRLA Control A 0x0 32 read-write n 0x0 0x0 ALOCK Auto Lock 14 1 CPTEN0 Capture Channel 0 Enable 24 1 CPTEN1 Capture Channel 1 Enable 25 1 CPTEN2 Capture Channel 2 Enable 26 1 CPTEN3 Capture Channel 3 Enable 27 1 ENABLE Enable 1 1 PRESCALER Prescaler 8 3 PRESCALERSelect DIV1 No division 0x0 DIV2 Divide by 2 0x1 DIV4 Divide by 4 0x2 DIV8 Divide by 8 0x3 DIV16 Divide by 16 0x4 DIV64 Divide by 64 0x5 DIV256 Divide by 256 0x6 DIV1024 Divide by 1024 0x7 PRESCSYNC Prescaler and Counter Synchronization Selection 12 2 PRESCSYNCSelect GCLK Reload or reset counter on next GCLK 0x0 PRESC Reload or reset counter on next prescaler clock 0x1 RESYNC Reload or reset counter on next GCLK and reset prescaler counter 0x2 RESOLUTION Enhanced Resolution 5 2 RESOLUTIONSelect NONE Dithering is disabled 0x0 DITH4 Dithering is done every 16 PWM frames 0x1 DITH5 Dithering is done every 32 PWM frames 0x2 DITH6 Dithering is done every 64 PWM frames 0x3 RUNSTDBY Run in Standby 11 1 SWRST Software Reset 0 1 CTRLBCLR Control B Clear 0x4 8 read-write n 0x0 0x0 CMD TCC Command 5 3 CMDSelect NONE No action 0x0 RETRIGGER Clear start, restart or retrigger 0x1 STOP Force stop 0x2 UPDATE Force update of double buffered registers 0x3 READSYNC Force COUNT read synchronization 0x4 DIR Counter Direction 0 1 IDXCMD Ramp Index Command 3 2 IDXCMDSelect DISABLE Command disabled: Index toggles between cycles A and B 0x0 SET Set index: cycle B will be forced in the next cycle 0x1 CLEAR Clear index: cycle A will be forced in the next cycle 0x2 HOLD Hold index: the next cycle will be the same as the current cycle 0x3 LUPD Lock Update 1 1 ONESHOT One-Shot 2 1 CTRLBSET Control B Set 0x5 8 read-write n 0x0 0x0 CMD TCC Command 5 3 CMDSelect NONE No action 0x0 RETRIGGER Clear start, restart or retrigger 0x1 STOP Force stop 0x2 UPDATE Force update of double buffered registers 0x3 READSYNC Force COUNT read synchronization 0x4 DIR Counter Direction 0 1 IDXCMD Ramp Index Command 3 2 IDXCMDSelect DISABLE Command disabled: Index toggles between cycles A and B 0x0 SET Set index: cycle B will be forced in the next cycle 0x1 CLEAR Clear index: cycle A will be forced in the next cycle 0x2 HOLD Hold index: the next cycle will be the same as the current cycle 0x3 LUPD Lock Update 1 1 ONESHOT One-Shot 2 1 DBGCTRL Debug Control 0x1E 8 read-write n 0x0 0x0 DBGRUN Debug Running Mode 0 1 FDDBD Fault Detection on Debug Break Detection 2 1 DRVCTRL Driver Control 0x18 32 read-write n 0x0 0x0 FILTERVAL0 Non-Recoverable Fault Input 0 Filter Value 24 4 FILTERVAL1 Non-Recoverable Fault Input 1 Filter Value 28 4 INVEN0 Output Waveform 0 Inversion 16 1 INVEN1 Output Waveform 1 Inversion 17 1 INVEN2 Output Waveform 2 Inversion 18 1 INVEN3 Output Waveform 3 Inversion 19 1 INVEN4 Output Waveform 4 Inversion 20 1 INVEN5 Output Waveform 5 Inversion 21 1 INVEN6 Output Waveform 6 Inversion 22 1 INVEN7 Output Waveform 7 Inversion 23 1 NRE0 Non-Recoverable State 0 Output Enable 0 1 NRE1 Non-Recoverable State 1 Output Enable 1 1 NRE2 Non-Recoverable State 2 Output Enable 2 1 NRE3 Non-Recoverable State 3 Output Enable 3 1 NRE4 Non-Recoverable State 4 Output Enable 4 1 NRE5 Non-Recoverable State 5 Output Enable 5 1 NRE6 Non-Recoverable State 6 Output Enable 6 1 NRE7 Non-Recoverable State 7 Output Enable 7 1 NRV0 Non-Recoverable State 0 Output Value 8 1 NRV1 Non-Recoverable State 1 Output Value 9 1 NRV2 Non-Recoverable State 2 Output Value 10 1 NRV3 Non-Recoverable State 3 Output Value 11 1 NRV4 Non-Recoverable State 4 Output Value 12 1 NRV5 Non-Recoverable State 5 Output Value 13 1 NRV6 Non-Recoverable State 6 Output Value 14 1 NRV7 Non-Recoverable State 7 Output Value 15 1 EVCTRL Event Control 0x20 32 read-write n 0x0 0x0 CNTEO Timer/counter Output Event Enable 10 1 CNTSEL Timer/counter Output Event Mode 6 2 CNTSELSelect START An interrupt/event is generated when a new counter cycle starts 0x0 END An interrupt/event is generated when a counter cycle ends 0x1 BETWEEN An interrupt/event is generated when a counter cycle ends, except for the first and last cycles 0x2 BOUNDARY An interrupt/event is generated when a new counter cycle starts or a counter cycle ends 0x3 EVACT0 Timer/counter Input Event0 Action 0 3 EVACT0Select OFF Event action disabled 0x0 RETRIGGER Start, restart or re-trigger counter on event 0x1 COUNTEV Count on event 0x2 START Start counter on event 0x3 INC Increment counter on event 0x4 COUNT Count on active state of asynchronous event 0x5 STAMP Stamp capture 0x6 FAULT Non-recoverable fault 0x7 EVACT1 Timer/counter Input Event1 Action 3 3 EVACT1Select OFF Event action disabled 0x0 RETRIGGER Re-trigger counter on event 0x1 DIR Direction control 0x2 STOP Stop counter on event 0x3 DEC Decrement counter on event 0x4 PPW Period capture value in CC0 register, pulse width capture value in CC1 register 0x5 PWP Period capture value in CC1 register, pulse width capture value in CC0 register 0x6 FAULT Non-recoverable fault 0x7 MCEI0 Match or Capture Channel 0 Event Input Enable 16 1 MCEI1 Match or Capture Channel 1 Event Input Enable 17 1 MCEI2 Match or Capture Channel 2 Event Input Enable 18 1 MCEI3 Match or Capture Channel 3 Event Input Enable 19 1 MCEO0 Match or Capture Channel 0 Event Output Enable 24 1 MCEO1 Match or Capture Channel 1 Event Output Enable 25 1 MCEO2 Match or Capture Channel 2 Event Output Enable 26 1 MCEO3 Match or Capture Channel 3 Event Output Enable 27 1 OVFEO Overflow/Underflow Output Event Enable 8 1 TCEI0 Timer/counter Event 0 Input Enable 14 1 TCEI1 Timer/counter Event 1 Input Enable 15 1 TCINV0 Inverted Event 0 Input Enable 12 1 TCINV1 Inverted Event 1 Input Enable 13 1 TRGEO Retrigger Output Event Enable 9 1 FCTRLA Recoverable Fault A Configuration 0xC 32 read-write n 0x0 0x0 BLANK Fault A Blanking Mode 5 2 BLANKSelect START Blanking applied from start of ramp 0x0 RISE Blanking applied from rising edge of the output waveform 0x1 FALL Blanking applied from falling edge of the output waveform 0x2 BOTH Blanking applied from each toggle of the output waveform 0x3 BLANKPRESC Fault A Blanking Prescaler 15 1 BLANKVAL Fault A Blanking Time 16 8 CAPTURE Fault A Capture Action 12 3 CAPTURESelect DISABLE No capture 0x0 CAPT Capture on fault 0x1 CAPTMIN Minimum capture 0x2 CAPTMAX Maximum capture 0x3 LOCMIN Minimum local detection 0x4 LOCMAX Maximum local detection 0x5 DERIV0 Minimum and maximum local detection 0x6 CAPTMARK Capture with ramp index as MSB value 0x7 CHSEL Fault A Capture Channel 10 2 CHSELSelect CC0 Capture value stored in channel 0 0x0 CC1 Capture value stored in channel 1 0x1 CC2 Capture value stored in channel 2 0x2 CC3 Capture value stored in channel 3 0x3 FILTERVAL Fault A Filter Value 24 4 HALT Fault A Halt Mode 8 2 HALTSelect DISABLE Halt action disabled 0x0 HW Hardware halt action 0x1 SW Software halt action 0x2 NR Non-recoverable fault 0x3 KEEP Fault A Keeper 3 1 QUAL Fault A Qualification 4 1 RESTART Fault A Restart 7 1 SRC Fault A Source 0 2 SRCSelect DISABLE Fault input disabled 0x0 ENABLE MCEx (x=0,1) event input 0x1 INVERT Inverted MCEx (x=0,1) event input 0x2 ALTFAULT Alternate fault (A or B) state at the end of the previous period 0x3 FCTRLB Recoverable Fault B Configuration 0x10 32 read-write n 0x0 0x0 BLANK Fault B Blanking Mode 5 2 BLANKSelect START Blanking applied from start of ramp 0x0 RISE Blanking applied from rising edge of the output waveform 0x1 FALL Blanking applied from falling edge of the output waveform 0x2 BOTH Blanking applied from each toggle of the output waveform 0x3 BLANKPRESC Fault B Blanking Prescaler 15 1 BLANKVAL Fault B Blanking Time 16 8 CAPTURE Fault B Capture Action 12 3 CAPTURESelect DISABLE No capture 0x0 CAPT Capture on fault 0x1 CAPTMIN Minimum capture 0x2 CAPTMAX Maximum capture 0x3 LOCMIN Minimum local detection 0x4 LOCMAX Maximum local detection 0x5 DERIV0 Minimum and maximum local detection 0x6 CAPTMARK Capture with ramp index as MSB value 0x7 CHSEL Fault B Capture Channel 10 2 CHSELSelect CC0 Capture value stored in channel 0 0x0 CC1 Capture value stored in channel 1 0x1 CC2 Capture value stored in channel 2 0x2 CC3 Capture value stored in channel 3 0x3 FILTERVAL Fault B Filter Value 24 4 HALT Fault B Halt Mode 8 2 HALTSelect DISABLE Halt action disabled 0x0 HW Hardware halt action 0x1 SW Software halt action 0x2 NR Non-recoverable fault 0x3 KEEP Fault B Keeper 3 1 QUAL Fault B Qualification 4 1 RESTART Fault B Restart 7 1 SRC Fault B Source 0 2 SRCSelect DISABLE Fault input disabled 0x0 ENABLE MCEx (x=0,1) event input 0x1 INVERT Inverted MCEx (x=0,1) event input 0x2 ALTFAULT Alternate fault (A or B) state at the end of the previous period 0x3 INTENCLR Interrupt Enable Clear 0x24 32 read-write n 0x0 0x0 CNT Counter Interrupt Enable 2 1 DFS Non-Recoverable Debug Fault Interrupt Enable 11 1 ERR Error Interrupt Enable 3 1 FAULT0 Non-Recoverable Fault 0 Interrupt Enable 14 1 FAULT1 Non-Recoverable Fault 1 Interrupt Enable 15 1 FAULTA Recoverable Fault A Interrupt Enable 12 1 FAULTB Recoverable Fault B Interrupt Enable 13 1 MC0 Match or Capture Channel 0 Interrupt Enable 16 1 MC1 Match or Capture Channel 1 Interrupt Enable 17 1 MC2 Match or Capture Channel 2 Interrupt Enable 18 1 MC3 Match or Capture Channel 3 Interrupt Enable 19 1 OVF Overflow Interrupt Enable 0 1 TRG Retrigger Interrupt Enable 1 1 UFS Non-Recoverable Update Fault Interrupt Enable 10 1 INTENSET Interrupt Enable Set 0x28 32 read-write n 0x0 0x0 CNT Counter Interrupt Enable 2 1 DFS Non-Recoverable Debug Fault Interrupt Enable 11 1 ERR Error Interrupt Enable 3 1 FAULT0 Non-Recoverable Fault 0 Interrupt Enable 14 1 FAULT1 Non-Recoverable Fault 1 Interrupt Enable 15 1 FAULTA Recoverable Fault A Interrupt Enable 12 1 FAULTB Recoverable Fault B Interrupt Enable 13 1 MC0 Match or Capture Channel 0 Interrupt Enable 16 1 MC1 Match or Capture Channel 1 Interrupt Enable 17 1 MC2 Match or Capture Channel 2 Interrupt Enable 18 1 MC3 Match or Capture Channel 3 Interrupt Enable 19 1 OVF Overflow Interrupt Enable 0 1 TRG Retrigger Interrupt Enable 1 1 UFS Non-Recoverable Update Fault Interrupt Enable 10 1 INTFLAG Interrupt Flag Status and Clear 0x2C 32 read-write n 0x0 0x0 CNT Counter 2 1 DFS Non-Recoverable Debug Fault 11 1 ERR Error 3 1 FAULT0 Non-Recoverable Fault 0 14 1 FAULT1 Non-Recoverable Fault 1 15 1 FAULTA Recoverable Fault A 12 1 FAULTB Recoverable Fault B 13 1 MC0 Match or Capture 0 16 1 MC1 Match or Capture 1 17 1 MC2 Match or Capture 2 18 1 MC3 Match or Capture 3 19 1 OVF Overflow 0 1 TRG Retrigger 1 1 UFS Non-Recoverable Update Fault 10 1 PATT Pattern 0x38 16 read-write n 0x0 0x0 PGE0 Pattern Generator 0 Output Enable 0 1 PGE1 Pattern Generator 1 Output Enable 1 1 PGE2 Pattern Generator 2 Output Enable 2 1 PGE3 Pattern Generator 3 Output Enable 3 1 PGE4 Pattern Generator 4 Output Enable 4 1 PGE5 Pattern Generator 5 Output Enable 5 1 PGE6 Pattern Generator 6 Output Enable 6 1 PGE7 Pattern Generator 7 Output Enable 7 1 PGV0 Pattern Generator 0 Output Value 8 1 PGV1 Pattern Generator 1 Output Value 9 1 PGV2 Pattern Generator 2 Output Value 10 1 PGV3 Pattern Generator 3 Output Value 11 1 PGV4 Pattern Generator 4 Output Value 12 1 PGV5 Pattern Generator 5 Output Value 13 1 PGV6 Pattern Generator 6 Output Value 14 1 PGV7 Pattern Generator 7 Output Value 15 1 PATTB Pattern Buffer 0x64 16 read-write n 0x0 0x0 PGEB0 Pattern Generator 0 Output Enable Buffer 0 1 PGEB1 Pattern Generator 1 Output Enable Buffer 1 1 PGEB2 Pattern Generator 2 Output Enable Buffer 2 1 PGEB3 Pattern Generator 3 Output Enable Buffer 3 1 PGEB4 Pattern Generator 4 Output Enable Buffer 4 1 PGEB5 Pattern Generator 5 Output Enable Buffer 5 1 PGEB6 Pattern Generator 6 Output Enable Buffer 6 1 PGEB7 Pattern Generator 7 Output Enable Buffer 7 1 PGVB0 Pattern Generator 0 Output Enable 8 1 PGVB1 Pattern Generator 1 Output Enable 9 1 PGVB2 Pattern Generator 2 Output Enable 10 1 PGVB3 Pattern Generator 3 Output Enable 11 1 PGVB4 Pattern Generator 4 Output Enable 12 1 PGVB5 Pattern Generator 5 Output Enable 13 1 PGVB6 Pattern Generator 6 Output Enable 14 1 PGVB7 Pattern Generator 7 Output Enable 15 1 PER Period 0x40 32 read-write n 0x0 0x0 PER Period Value 0 24 PERB Period Buffer 0x6C 32 read-write n 0x0 0x0 PERB Period Buffer Value 0 24 PERB_DITH4 Period Buffer PERB 0x6C 32 read-write n 0x0 0x0 DITHERCYB Dithering Buffer Cycle Number 0 4 PERB Period Buffer Value 4 20 PERB_DITH5 Period Buffer PERB 0x6C 32 read-write n 0x0 0x0 DITHERCYB Dithering Buffer Cycle Number 0 5 PERB Period Buffer Value 5 19 PERB_DITH6 Period Buffer PERB 0x6C 32 read-write n 0x0 0x0 DITHERCYB Dithering Buffer Cycle Number 0 6 PERB Period Buffer Value 6 18 PER_DITH4 Period PER 0x40 32 read-write n 0x0 0x0 DITHERCY Dithering Cycle Number 0 4 PER Period Value 4 20 PER_DITH5 Period PER 0x40 32 read-write n 0x0 0x0 DITHERCY Dithering Cycle Number 0 5 PER Period Value 5 19 PER_DITH6 Period PER 0x40 32 read-write n 0x0 0x0 DITHERCY Dithering Cycle Number 0 6 PER Period Value 6 18 STATUS Status 0x30 32 read-write n 0x0 0x0 CCBV0 Compare Channel 0 Buffer Valid 16 1 CCBV1 Compare Channel 1 Buffer Valid 17 1 CCBV2 Compare Channel 2 Buffer Valid 18 1 CCBV3 Compare Channel 3 Buffer Valid 19 1 CMP0 Compare Channel 0 Value 24 1 read-only CMP1 Compare Channel 1 Value 25 1 read-only CMP2 Compare Channel 2 Value 26 1 read-only CMP3 Compare Channel 3 Value 27 1 read-only DFS Non-Recoverable Debug Fault State 3 1 FAULT0 Non-Recoverable Fault 0 State 14 1 FAULT0IN Non-Recoverable Fault0 Input 10 1 read-only FAULT1 Non-Recoverable Fault 1 State 15 1 FAULT1IN Non-Recoverable Fault1 Input 11 1 read-only FAULTA Recoverable Fault A State 12 1 FAULTAIN Recoverable Fault A Input 8 1 read-only FAULTB Recoverable Fault B State 13 1 FAULTBIN Recoverable Fault B Input 9 1 read-only IDX Ramp 1 1 read-only PATTBV Pattern Buffer Valid 5 1 PERBV Period Buffer Valid 7 1 SLAVE Slave 4 1 read-only STOP Stop 0 1 read-only UFS Non-Recoverable Update Fault State 2 1 WAVEBV Wave Buffer Valid 6 1 SYNCBUSY Synchronization Busy 0x8 32 read-only n 0x0 0x0 CC0 Compare Channel 0 Busy 8 1 CC1 Compare Channel 1 Busy 9 1 CC2 Compare Channel 2 Busy 10 1 CC3 Compare Channel 3 Busy 11 1 CCB0 Compare Channel Buffer 0 Busy 19 1 CCB1 Compare Channel Buffer 1 Busy 20 1 CCB2 Compare Channel Buffer 2 Busy 21 1 CCB3 Compare Channel Buffer 3 Busy 22 1 COUNT Count Busy 4 1 CTRLB Ctrlb Busy 2 1 ENABLE Enable Busy 1 1 PATT Pattern Busy 5 1 PATTB Pattern Buffer Busy 16 1 PER Period busy 7 1 PERB Period Buffer Busy 18 1 STATUS Status Busy 3 1 SWRST Swrst Busy 0 1 WAVE Wave Busy 6 1 WAVEB Wave Buffer Busy 17 1 TCC_CC0 Compare and Capture 0x88 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 0 24 TCC_CC0_DITH4 Compare and Capture CC%s 0x88 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 4 20 DITHERCY Dithering Cycle Number 0 4 TCC_CC0_DITH5 Compare and Capture CC%s 0x88 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 5 19 DITHERCY Dithering Cycle Number 0 5 TCC_CC0_DITH6 Compare and Capture CC%s 0x88 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 6 18 DITHERCY Dithering Cycle Number 0 6 TCC_CC1 Compare and Capture 0xD0 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 0 24 TCC_CC1_DITH4 Compare and Capture CC%s 0xD0 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 4 20 DITHERCY Dithering Cycle Number 0 4 TCC_CC1_DITH5 Compare and Capture CC%s 0xD0 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 5 19 DITHERCY Dithering Cycle Number 0 5 TCC_CC1_DITH6 Compare and Capture CC%s 0xD0 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 6 18 DITHERCY Dithering Cycle Number 0 6 TCC_CC2 Compare and Capture 0x11C 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 0 24 TCC_CC2_DITH4 Compare and Capture CC%s 0x11C 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 4 20 DITHERCY Dithering Cycle Number 0 4 TCC_CC2_DITH5 Compare and Capture CC%s 0x11C 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 5 19 DITHERCY Dithering Cycle Number 0 5 TCC_CC2_DITH6 Compare and Capture CC%s 0x11C 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 6 18 DITHERCY Dithering Cycle Number 0 6 TCC_CC3 Compare and Capture 0x16C 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 0 24 TCC_CC3_DITH4 Compare and Capture CC%s 0x16C 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 4 20 DITHERCY Dithering Cycle Number 0 4 TCC_CC3_DITH5 Compare and Capture CC%s 0x16C 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 5 19 DITHERCY Dithering Cycle Number 0 5 TCC_CC3_DITH6 Compare and Capture CC%s 0x16C 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 6 18 DITHERCY Dithering Cycle Number 0 6 TCC_CCB0 Compare and Capture Buffer 0xE0 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 0 24 TCC_CCB0_DITH4 Compare and Capture Buffer CCB%s 0xE0 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 4 20 DITHERCYB Dithering Buffer Cycle Number 0 4 TCC_CCB0_DITH5 Compare and Capture Buffer CCB%s 0xE0 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 5 19 DITHERCYB Dithering Buffer Cycle Number 0 5 TCC_CCB0_DITH6 Compare and Capture Buffer CCB%s 0xE0 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 6 18 DITHERCYB Dithering Buffer Cycle Number 0 6 TCC_CCB1 Compare and Capture Buffer 0x154 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 0 24 TCC_CCB1_DITH4 Compare and Capture Buffer CCB%s 0x154 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 4 20 DITHERCYB Dithering Buffer Cycle Number 0 4 TCC_CCB1_DITH5 Compare and Capture Buffer CCB%s 0x154 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 5 19 DITHERCYB Dithering Buffer Cycle Number 0 5 TCC_CCB1_DITH6 Compare and Capture Buffer CCB%s 0x154 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 6 18 DITHERCYB Dithering Buffer Cycle Number 0 6 TCC_CCB2 Compare and Capture Buffer 0x1CC 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 0 24 TCC_CCB2_DITH4 Compare and Capture Buffer CCB%s 0x1CC 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 4 20 DITHERCYB Dithering Buffer Cycle Number 0 4 TCC_CCB2_DITH5 Compare and Capture Buffer CCB%s 0x1CC 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 5 19 DITHERCYB Dithering Buffer Cycle Number 0 5 TCC_CCB2_DITH6 Compare and Capture Buffer CCB%s 0x1CC 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 6 18 DITHERCYB Dithering Buffer Cycle Number 0 6 TCC_CCB3 Compare and Capture Buffer 0x248 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 0 24 TCC_CCB3_DITH4 Compare and Capture Buffer CCB%s 0x248 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 4 20 DITHERCYB Dithering Buffer Cycle Number 0 4 TCC_CCB3_DITH5 Compare and Capture Buffer CCB%s 0x248 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 5 19 DITHERCYB Dithering Buffer Cycle Number 0 5 TCC_CCB3_DITH6 Compare and Capture Buffer CCB%s 0x248 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 6 18 DITHERCYB Dithering Buffer Cycle Number 0 6 TCC_COUNT Count 0x34 32 read-write n 0x0 0x0 COUNT Counter Value 0 24 TCC_COUNT_DITH4 Count COUNT 0x34 32 read-write n 0x0 0x0 COUNT Counter Value 4 20 TCC_COUNT_DITH5 Count COUNT 0x34 32 read-write n 0x0 0x0 COUNT Counter Value 5 19 TCC_COUNT_DITH6 Count COUNT 0x34 32 read-write n 0x0 0x0 COUNT Counter Value 6 18 TCC_CTRLA Control A 0x0 32 read-write n 0x0 0x0 ALOCK Auto Lock 14 1 CPTEN0 Capture Channel 0 Enable 24 1 CPTEN1 Capture Channel 1 Enable 25 1 CPTEN2 Capture Channel 2 Enable 26 1 CPTEN3 Capture Channel 3 Enable 27 1 ENABLE Enable 1 1 PRESCALER Prescaler 8 3 PRESCALERSelect DIV1 No division 0x0 DIV2 Divide by 2 0x1 DIV4 Divide by 4 0x2 DIV8 Divide by 8 0x3 DIV16 Divide by 16 0x4 DIV64 Divide by 64 0x5 DIV256 Divide by 256 0x6 DIV1024 Divide by 1024 0x7 PRESCSYNC Prescaler and Counter Synchronization Selection 12 2 PRESCSYNCSelect GCLK Reload or reset counter on next GCLK 0x0 PRESC Reload or reset counter on next prescaler clock 0x1 RESYNC Reload or reset counter on next GCLK and reset prescaler counter 0x2 RESOLUTION Enhanced Resolution 5 2 RESOLUTIONSelect NONE Dithering is disabled 0x0 DITH4 Dithering is done every 16 PWM frames 0x1 DITH5 Dithering is done every 32 PWM frames 0x2 DITH6 Dithering is done every 64 PWM frames 0x3 RUNSTDBY Run in Standby 11 1 SWRST Software Reset 0 1 TCC_CTRLBCLR Control B Clear 0x4 8 read-write n 0x0 0x0 CMD TCC Command 5 3 CMDSelect NONE No action 0x0 RETRIGGER Clear start, restart or retrigger 0x1 STOP Force stop 0x2 UPDATE Force update of double buffered registers 0x3 READSYNC Force COUNT read synchronization 0x4 DIR Counter Direction 0 1 IDXCMD Ramp Index Command 3 2 IDXCMDSelect DISABLE Command disabled: Index toggles between cycles A and B 0x0 SET Set index: cycle B will be forced in the next cycle 0x1 CLEAR Clear index: cycle A will be forced in the next cycle 0x2 HOLD Hold index: the next cycle will be the same as the current cycle 0x3 LUPD Lock Update 1 1 ONESHOT One-Shot 2 1 TCC_CTRLBSET Control B Set 0x5 8 read-write n 0x0 0x0 CMD TCC Command 5 3 CMDSelect NONE No action 0x0 RETRIGGER Clear start, restart or retrigger 0x1 STOP Force stop 0x2 UPDATE Force update of double buffered registers 0x3 READSYNC Force COUNT read synchronization 0x4 DIR Counter Direction 0 1 IDXCMD Ramp Index Command 3 2 IDXCMDSelect DISABLE Command disabled: Index toggles between cycles A and B 0x0 SET Set index: cycle B will be forced in the next cycle 0x1 CLEAR Clear index: cycle A will be forced in the next cycle 0x2 HOLD Hold index: the next cycle will be the same as the current cycle 0x3 LUPD Lock Update 1 1 ONESHOT One-Shot 2 1 TCC_DBGCTRL Debug Control 0x1E 8 read-write n 0x0 0x0 DBGRUN Debug Running Mode 0 1 FDDBD Fault Detection on Debug Break Detection 2 1 TCC_DRVCTRL Driver Control 0x18 32 read-write n 0x0 0x0 FILTERVAL0 Non-Recoverable Fault Input 0 Filter Value 24 4 FILTERVAL1 Non-Recoverable Fault Input 1 Filter Value 28 4 INVEN0 Output Waveform 0 Inversion 16 1 INVEN1 Output Waveform 1 Inversion 17 1 INVEN2 Output Waveform 2 Inversion 18 1 INVEN3 Output Waveform 3 Inversion 19 1 INVEN4 Output Waveform 4 Inversion 20 1 INVEN5 Output Waveform 5 Inversion 21 1 INVEN6 Output Waveform 6 Inversion 22 1 INVEN7 Output Waveform 7 Inversion 23 1 NRE0 Non-Recoverable State 0 Output Enable 0 1 NRE1 Non-Recoverable State 1 Output Enable 1 1 NRE2 Non-Recoverable State 2 Output Enable 2 1 NRE3 Non-Recoverable State 3 Output Enable 3 1 NRE4 Non-Recoverable State 4 Output Enable 4 1 NRE5 Non-Recoverable State 5 Output Enable 5 1 NRE6 Non-Recoverable State 6 Output Enable 6 1 NRE7 Non-Recoverable State 7 Output Enable 7 1 NRV0 Non-Recoverable State 0 Output Value 8 1 NRV1 Non-Recoverable State 1 Output Value 9 1 NRV2 Non-Recoverable State 2 Output Value 10 1 NRV3 Non-Recoverable State 3 Output Value 11 1 NRV4 Non-Recoverable State 4 Output Value 12 1 NRV5 Non-Recoverable State 5 Output Value 13 1 NRV6 Non-Recoverable State 6 Output Value 14 1 NRV7 Non-Recoverable State 7 Output Value 15 1 TCC_EVCTRL Event Control 0x20 32 read-write n 0x0 0x0 CNTEO Timer/counter Output Event Enable 10 1 CNTSEL Timer/counter Output Event Mode 6 2 CNTSELSelect START An interrupt/event is generated when a new counter cycle starts 0x0 END An interrupt/event is generated when a counter cycle ends 0x1 BETWEEN An interrupt/event is generated when a counter cycle ends, except for the first and last cycles 0x2 BOUNDARY An interrupt/event is generated when a new counter cycle starts or a counter cycle ends 0x3 EVACT0 Timer/counter Input Event0 Action 0 3 EVACT0Select OFF Event action disabled 0x0 RETRIGGER Start, restart or re-trigger counter on event 0x1 COUNTEV Count on event 0x2 START Start counter on event 0x3 INC Increment counter on event 0x4 COUNT Count on active state of asynchronous event 0x5 STAMP Stamp capture 0x6 FAULT Non-recoverable fault 0x7 EVACT1 Timer/counter Input Event1 Action 3 3 EVACT1Select OFF Event action disabled 0x0 RETRIGGER Re-trigger counter on event 0x1 DIR Direction control 0x2 STOP Stop counter on event 0x3 DEC Decrement counter on event 0x4 PPW Period capture value in CC0 register, pulse width capture value in CC1 register 0x5 PWP Period capture value in CC1 register, pulse width capture value in CC0 register 0x6 FAULT Non-recoverable fault 0x7 MCEI0 Match or Capture Channel 0 Event Input Enable 16 1 MCEI1 Match or Capture Channel 1 Event Input Enable 17 1 MCEI2 Match or Capture Channel 2 Event Input Enable 18 1 MCEI3 Match or Capture Channel 3 Event Input Enable 19 1 MCEO0 Match or Capture Channel 0 Event Output Enable 24 1 MCEO1 Match or Capture Channel 1 Event Output Enable 25 1 MCEO2 Match or Capture Channel 2 Event Output Enable 26 1 MCEO3 Match or Capture Channel 3 Event Output Enable 27 1 OVFEO Overflow/Underflow Output Event Enable 8 1 TCEI0 Timer/counter Event 0 Input Enable 14 1 TCEI1 Timer/counter Event 1 Input Enable 15 1 TCINV0 Inverted Event 0 Input Enable 12 1 TCINV1 Inverted Event 1 Input Enable 13 1 TRGEO Retrigger Output Event Enable 9 1 TCC_FCTRLA Recoverable Fault A Configuration 0xC 32 read-write n 0x0 0x0 BLANK Fault A Blanking Mode 5 2 BLANKSelect START Blanking applied from start of ramp 0x0 RISE Blanking applied from rising edge of the output waveform 0x1 FALL Blanking applied from falling edge of the output waveform 0x2 BOTH Blanking applied from each toggle of the output waveform 0x3 BLANKPRESC Fault A Blanking Prescaler 15 1 BLANKVAL Fault A Blanking Time 16 8 CAPTURE Fault A Capture Action 12 3 CAPTURESelect DISABLE No capture 0x0 CAPT Capture on fault 0x1 CAPTMIN Minimum capture 0x2 CAPTMAX Maximum capture 0x3 LOCMIN Minimum local detection 0x4 LOCMAX Maximum local detection 0x5 DERIV0 Minimum and maximum local detection 0x6 CAPTMARK Capture with ramp index as MSB value 0x7 CHSEL Fault A Capture Channel 10 2 CHSELSelect CC0 Capture value stored in channel 0 0x0 CC1 Capture value stored in channel 1 0x1 CC2 Capture value stored in channel 2 0x2 CC3 Capture value stored in channel 3 0x3 FILTERVAL Fault A Filter Value 24 4 HALT Fault A Halt Mode 8 2 HALTSelect DISABLE Halt action disabled 0x0 HW Hardware halt action 0x1 SW Software halt action 0x2 NR Non-recoverable fault 0x3 KEEP Fault A Keeper 3 1 QUAL Fault A Qualification 4 1 RESTART Fault A Restart 7 1 SRC Fault A Source 0 2 SRCSelect DISABLE Fault input disabled 0x0 ENABLE MCEx (x=0,1) event input 0x1 INVERT Inverted MCEx (x=0,1) event input 0x2 ALTFAULT Alternate fault (A or B) state at the end of the previous period 0x3 TCC_FCTRLB Recoverable Fault B Configuration 0x10 32 read-write n 0x0 0x0 BLANK Fault B Blanking Mode 5 2 BLANKSelect START Blanking applied from start of ramp 0x0 RISE Blanking applied from rising edge of the output waveform 0x1 FALL Blanking applied from falling edge of the output waveform 0x2 BOTH Blanking applied from each toggle of the output waveform 0x3 BLANKPRESC Fault B Blanking Prescaler 15 1 BLANKVAL Fault B Blanking Time 16 8 CAPTURE Fault B Capture Action 12 3 CAPTURESelect DISABLE No capture 0x0 CAPT Capture on fault 0x1 CAPTMIN Minimum capture 0x2 CAPTMAX Maximum capture 0x3 LOCMIN Minimum local detection 0x4 LOCMAX Maximum local detection 0x5 DERIV0 Minimum and maximum local detection 0x6 CAPTMARK Capture with ramp index as MSB value 0x7 CHSEL Fault B Capture Channel 10 2 CHSELSelect CC0 Capture value stored in channel 0 0x0 CC1 Capture value stored in channel 1 0x1 CC2 Capture value stored in channel 2 0x2 CC3 Capture value stored in channel 3 0x3 FILTERVAL Fault B Filter Value 24 4 HALT Fault B Halt Mode 8 2 HALTSelect DISABLE Halt action disabled 0x0 HW Hardware halt action 0x1 SW Software halt action 0x2 NR Non-recoverable fault 0x3 KEEP Fault B Keeper 3 1 QUAL Fault B Qualification 4 1 RESTART Fault B Restart 7 1 SRC Fault B Source 0 2 SRCSelect DISABLE Fault input disabled 0x0 ENABLE MCEx (x=0,1) event input 0x1 INVERT Inverted MCEx (x=0,1) event input 0x2 ALTFAULT Alternate fault (A or B) state at the end of the previous period 0x3 TCC_INTENCLR Interrupt Enable Clear 0x24 32 read-write n 0x0 0x0 CNT Counter Interrupt Enable 2 1 DFS Non-Recoverable Debug Fault Interrupt Enable 11 1 ERR Error Interrupt Enable 3 1 FAULT0 Non-Recoverable Fault 0 Interrupt Enable 14 1 FAULT1 Non-Recoverable Fault 1 Interrupt Enable 15 1 FAULTA Recoverable Fault A Interrupt Enable 12 1 FAULTB Recoverable Fault B Interrupt Enable 13 1 MC0 Match or Capture Channel 0 Interrupt Enable 16 1 MC1 Match or Capture Channel 1 Interrupt Enable 17 1 MC2 Match or Capture Channel 2 Interrupt Enable 18 1 MC3 Match or Capture Channel 3 Interrupt Enable 19 1 OVF Overflow Interrupt Enable 0 1 TRG Retrigger Interrupt Enable 1 1 UFS Non-Recoverable Update Fault Interrupt Enable 10 1 TCC_INTENSET Interrupt Enable Set 0x28 32 read-write n 0x0 0x0 CNT Counter Interrupt Enable 2 1 DFS Non-Recoverable Debug Fault Interrupt Enable 11 1 ERR Error Interrupt Enable 3 1 FAULT0 Non-Recoverable Fault 0 Interrupt Enable 14 1 FAULT1 Non-Recoverable Fault 1 Interrupt Enable 15 1 FAULTA Recoverable Fault A Interrupt Enable 12 1 FAULTB Recoverable Fault B Interrupt Enable 13 1 MC0 Match or Capture Channel 0 Interrupt Enable 16 1 MC1 Match or Capture Channel 1 Interrupt Enable 17 1 MC2 Match or Capture Channel 2 Interrupt Enable 18 1 MC3 Match or Capture Channel 3 Interrupt Enable 19 1 OVF Overflow Interrupt Enable 0 1 TRG Retrigger Interrupt Enable 1 1 UFS Non-Recoverable Update Fault Interrupt Enable 10 1 TCC_INTFLAG Interrupt Flag Status and Clear 0x2C 32 read-write n 0x0 0x0 CNT Counter 2 1 DFS Non-Recoverable Debug Fault 11 1 ERR Error 3 1 FAULT0 Non-Recoverable Fault 0 14 1 FAULT1 Non-Recoverable Fault 1 15 1 FAULTA Recoverable Fault A 12 1 FAULTB Recoverable Fault B 13 1 MC0 Match or Capture 0 16 1 MC1 Match or Capture 1 17 1 MC2 Match or Capture 2 18 1 MC3 Match or Capture 3 19 1 OVF Overflow 0 1 TRG Retrigger 1 1 UFS Non-Recoverable Update Fault 10 1 TCC_PATT Pattern 0x38 16 read-write n 0x0 0x0 PGE0 Pattern Generator 0 Output Enable 0 1 PGE1 Pattern Generator 1 Output Enable 1 1 PGE2 Pattern Generator 2 Output Enable 2 1 PGE3 Pattern Generator 3 Output Enable 3 1 PGE4 Pattern Generator 4 Output Enable 4 1 PGE5 Pattern Generator 5 Output Enable 5 1 PGE6 Pattern Generator 6 Output Enable 6 1 PGE7 Pattern Generator 7 Output Enable 7 1 PGV0 Pattern Generator 0 Output Value 8 1 PGV1 Pattern Generator 1 Output Value 9 1 PGV2 Pattern Generator 2 Output Value 10 1 PGV3 Pattern Generator 3 Output Value 11 1 PGV4 Pattern Generator 4 Output Value 12 1 PGV5 Pattern Generator 5 Output Value 13 1 PGV6 Pattern Generator 6 Output Value 14 1 PGV7 Pattern Generator 7 Output Value 15 1 TCC_PATTB Pattern Buffer 0x64 16 read-write n 0x0 0x0 PGEB0 Pattern Generator 0 Output Enable Buffer 0 1 PGEB1 Pattern Generator 1 Output Enable Buffer 1 1 PGEB2 Pattern Generator 2 Output Enable Buffer 2 1 PGEB3 Pattern Generator 3 Output Enable Buffer 3 1 PGEB4 Pattern Generator 4 Output Enable Buffer 4 1 PGEB5 Pattern Generator 5 Output Enable Buffer 5 1 PGEB6 Pattern Generator 6 Output Enable Buffer 6 1 PGEB7 Pattern Generator 7 Output Enable Buffer 7 1 PGVB0 Pattern Generator 0 Output Enable 8 1 PGVB1 Pattern Generator 1 Output Enable 9 1 PGVB2 Pattern Generator 2 Output Enable 10 1 PGVB3 Pattern Generator 3 Output Enable 11 1 PGVB4 Pattern Generator 4 Output Enable 12 1 PGVB5 Pattern Generator 5 Output Enable 13 1 PGVB6 Pattern Generator 6 Output Enable 14 1 PGVB7 Pattern Generator 7 Output Enable 15 1 TCC_PER Period 0x40 32 read-write n 0x0 0x0 PER Period Value 0 24 TCC_PERB Period Buffer 0x6C 32 read-write n 0x0 0x0 PERB Period Buffer Value 0 24 TCC_PERB_DITH4 Period Buffer PERB 0x6C 32 read-write n 0x0 0x0 DITHERCYB Dithering Buffer Cycle Number 0 4 PERB Period Buffer Value 4 20 TCC_PERB_DITH5 Period Buffer PERB 0x6C 32 read-write n 0x0 0x0 DITHERCYB Dithering Buffer Cycle Number 0 5 PERB Period Buffer Value 5 19 TCC_PERB_DITH6 Period Buffer PERB 0x6C 32 read-write n 0x0 0x0 DITHERCYB Dithering Buffer Cycle Number 0 6 PERB Period Buffer Value 6 18 TCC_PER_DITH4 Period PER 0x40 32 read-write n 0x0 0x0 DITHERCY Dithering Cycle Number 0 4 PER Period Value 4 20 TCC_PER_DITH5 Period PER 0x40 32 read-write n 0x0 0x0 DITHERCY Dithering Cycle Number 0 5 PER Period Value 5 19 TCC_PER_DITH6 Period PER 0x40 32 read-write n 0x0 0x0 DITHERCY Dithering Cycle Number 0 6 PER Period Value 6 18 TCC_STATUS Status 0x30 32 read-write n 0x0 0x0 CCBV0 Compare Channel 0 Buffer Valid 16 1 CCBV1 Compare Channel 1 Buffer Valid 17 1 CCBV2 Compare Channel 2 Buffer Valid 18 1 CCBV3 Compare Channel 3 Buffer Valid 19 1 CMP0 Compare Channel 0 Value 24 1 read-only CMP1 Compare Channel 1 Value 25 1 read-only CMP2 Compare Channel 2 Value 26 1 read-only CMP3 Compare Channel 3 Value 27 1 read-only DFS Non-Recoverable Debug Fault State 3 1 FAULT0 Non-Recoverable Fault 0 State 14 1 FAULT0IN Non-Recoverable Fault0 Input 10 1 read-only FAULT1 Non-Recoverable Fault 1 State 15 1 FAULT1IN Non-Recoverable Fault1 Input 11 1 read-only FAULTA Recoverable Fault A State 12 1 FAULTAIN Recoverable Fault A Input 8 1 read-only FAULTB Recoverable Fault B State 13 1 FAULTBIN Recoverable Fault B Input 9 1 read-only IDX Ramp 1 1 read-only PATTBV Pattern Buffer Valid 5 1 PERBV Period Buffer Valid 7 1 SLAVE Slave 4 1 read-only STOP Stop 0 1 read-only UFS Non-Recoverable Update Fault State 2 1 WAVEBV Wave Buffer Valid 6 1 TCC_SYNCBUSY Synchronization Busy 0x8 32 read-only n 0x0 0x0 CC0 Compare Channel 0 Busy 8 1 CC1 Compare Channel 1 Busy 9 1 CC2 Compare Channel 2 Busy 10 1 CC3 Compare Channel 3 Busy 11 1 CCB0 Compare Channel Buffer 0 Busy 19 1 CCB1 Compare Channel Buffer 1 Busy 20 1 CCB2 Compare Channel Buffer 2 Busy 21 1 CCB3 Compare Channel Buffer 3 Busy 22 1 COUNT Count Busy 4 1 CTRLB Ctrlb Busy 2 1 ENABLE Enable Busy 1 1 PATT Pattern Busy 5 1 PATTB Pattern Buffer Busy 16 1 PER Period busy 7 1 PERB Period Buffer Busy 18 1 STATUS Status Busy 3 1 SWRST Swrst Busy 0 1 WAVE Wave Busy 6 1 WAVEB Wave Buffer Busy 17 1 TCC_WAVE Waveform Control 0x3C 32 read-write n 0x0 0x0 CICCEN0 Circular Channel 0 Enable 8 1 CICCEN1 Circular Channel 1 Enable 9 1 CICCEN2 Circular Channel 2 Enable 10 1 CICCEN3 Circular Channel 3 Enable 11 1 CIPEREN Circular period Enable 7 1 POL0 Channel 0 Polarity 16 1 POL1 Channel 1 Polarity 17 1 POL2 Channel 2 Polarity 18 1 POL3 Channel 3 Polarity 19 1 RAMP Ramp Mode 4 2 RAMPSelect RAMP1 RAMP1 operation 0x0 RAMP2A Alternative RAMP2 operation 0x1 RAMP2 RAMP2 operation 0x2 RAMP2C Critical RAMP2 operation 0x3 SWAP0 Swap DTI Output Pair 0 24 1 SWAP1 Swap DTI Output Pair 1 25 1 SWAP2 Swap DTI Output Pair 2 26 1 SWAP3 Swap DTI Output Pair 3 27 1 WAVEGEN Waveform Generation 0 3 WAVEGENSelect NFRQ Normal frequency 0x0 MFRQ Match frequency 0x1 NPWM Normal PWM 0x2 DSCRITICAL Dual-slope critical 0x4 DSBOTTOM Dual-slope with interrupt/event condition when COUNT reaches ZERO 0x5 DSBOTH Dual-slope with interrupt/event condition when COUNT reaches ZERO or TOP 0x6 DSTOP Dual-slope with interrupt/event condition when COUNT reaches TOP 0x7 TCC_WAVEB Waveform Control Buffer 0x68 32 read-write n 0x0 0x0 CICCENB0 Circular Channel 0 Enable Buffer 8 1 CICCENB1 Circular Channel 1 Enable Buffer 9 1 CICCENB2 Circular Channel 2 Enable Buffer 10 1 CICCENB3 Circular Channel 3 Enable Buffer 11 1 CIPERENB Circular Period Enable Buffer 7 1 POLB0 Channel 0 Polarity Buffer 16 1 POLB1 Channel 1 Polarity Buffer 17 1 POLB2 Channel 2 Polarity Buffer 18 1 POLB3 Channel 3 Polarity Buffer 19 1 RAMPB Ramp Mode Buffer 4 2 RAMPBSelect RAMP1 RAMP1 operation 0x0 RAMP2A Alternative RAMP2 operation 0x1 RAMP2 RAMP2 operation 0x2 RAMP2C Critical RAMP2 operation 0x3 SWAPB0 Swap DTI Output Pair 0 Buffer 24 1 SWAPB1 Swap DTI Output Pair 1 Buffer 25 1 SWAPB2 Swap DTI Output Pair 2 Buffer 26 1 SWAPB3 Swap DTI Output Pair 3 Buffer 27 1 WAVEGENB Waveform Generation Buffer 0 3 WAVEGENBSelect NFRQ Normal frequency 0x0 MFRQ Match frequency 0x1 NPWM Normal PWM 0x2 DSCRITICAL Dual-slope critical 0x4 DSBOTTOM Dual-slope with interrupt/event condition when COUNT reaches ZERO 0x5 DSBOTH Dual-slope with interrupt/event condition when COUNT reaches ZERO or TOP 0x6 DSTOP Dual-slope with interrupt/event condition when COUNT reaches TOP 0x7 TCC_WEXCTRL Waveform Extension Configuration 0x14 32 read-write n 0x0 0x0 DTHS Dead-time High Side Outputs Value 24 8 DTIEN0 Dead-time Insertion Generator 0 Enable 8 1 DTIEN1 Dead-time Insertion Generator 1 Enable 9 1 DTIEN2 Dead-time Insertion Generator 2 Enable 10 1 DTIEN3 Dead-time Insertion Generator 3 Enable 11 1 DTLS Dead-time Low Side Outputs Value 16 8 OTMX Output Matrix 0 2 WAVE Waveform Control 0x3C 32 read-write n 0x0 0x0 CICCEN0 Circular Channel 0 Enable 8 1 CICCEN1 Circular Channel 1 Enable 9 1 CICCEN2 Circular Channel 2 Enable 10 1 CICCEN3 Circular Channel 3 Enable 11 1 CIPEREN Circular period Enable 7 1 POL0 Channel 0 Polarity 16 1 POL1 Channel 1 Polarity 17 1 POL2 Channel 2 Polarity 18 1 POL3 Channel 3 Polarity 19 1 RAMP Ramp Mode 4 2 RAMPSelect RAMP1 RAMP1 operation 0x0 RAMP2A Alternative RAMP2 operation 0x1 RAMP2 RAMP2 operation 0x2 RAMP2C Critical RAMP2 operation 0x3 SWAP0 Swap DTI Output Pair 0 24 1 SWAP1 Swap DTI Output Pair 1 25 1 SWAP2 Swap DTI Output Pair 2 26 1 SWAP3 Swap DTI Output Pair 3 27 1 WAVEGEN Waveform Generation 0 3 WAVEGENSelect NFRQ Normal frequency 0x0 MFRQ Match frequency 0x1 NPWM Normal PWM 0x2 DSCRITICAL Dual-slope critical 0x4 DSBOTTOM Dual-slope with interrupt/event condition when COUNT reaches ZERO 0x5 DSBOTH Dual-slope with interrupt/event condition when COUNT reaches ZERO or TOP 0x6 DSTOP Dual-slope with interrupt/event condition when COUNT reaches TOP 0x7 WAVEB Waveform Control Buffer 0x68 32 read-write n 0x0 0x0 CICCENB0 Circular Channel 0 Enable Buffer 8 1 CICCENB1 Circular Channel 1 Enable Buffer 9 1 CICCENB2 Circular Channel 2 Enable Buffer 10 1 CICCENB3 Circular Channel 3 Enable Buffer 11 1 CIPERENB Circular Period Enable Buffer 7 1 POLB0 Channel 0 Polarity Buffer 16 1 POLB1 Channel 1 Polarity Buffer 17 1 POLB2 Channel 2 Polarity Buffer 18 1 POLB3 Channel 3 Polarity Buffer 19 1 RAMPB Ramp Mode Buffer 4 2 RAMPBSelect RAMP1 RAMP1 operation 0x0 RAMP2A Alternative RAMP2 operation 0x1 RAMP2 RAMP2 operation 0x2 RAMP2C Critical RAMP2 operation 0x3 SWAPB0 Swap DTI Output Pair 0 Buffer 24 1 SWAPB1 Swap DTI Output Pair 1 Buffer 25 1 SWAPB2 Swap DTI Output Pair 2 Buffer 26 1 SWAPB3 Swap DTI Output Pair 3 Buffer 27 1 WAVEGENB Waveform Generation Buffer 0 3 WAVEGENBSelect NFRQ Normal frequency 0x0 MFRQ Match frequency 0x1 NPWM Normal PWM 0x2 DSCRITICAL Dual-slope critical 0x4 DSBOTTOM Dual-slope with interrupt/event condition when COUNT reaches ZERO 0x5 DSBOTH Dual-slope with interrupt/event condition when COUNT reaches ZERO or TOP 0x6 DSTOP Dual-slope with interrupt/event condition when COUNT reaches TOP 0x7 WEXCTRL Waveform Extension Configuration 0x14 32 read-write n 0x0 0x0 DTHS Dead-time High Side Outputs Value 24 8 DTIEN0 Dead-time Insertion Generator 0 Enable 8 1 DTIEN1 Dead-time Insertion Generator 1 Enable 9 1 DTIEN2 Dead-time Insertion Generator 2 Enable 10 1 DTIEN3 Dead-time Insertion Generator 3 Enable 11 1 DTLS Dead-time Low Side Outputs Value 16 8 OTMX Output Matrix 0 2 TCC1 Timer Counter Control 1 TCC 0x0 0x0 0x80 registers n TCC1 16 TCC1_INTREQ 16 CC0 Compare and Capture 0x44 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 0 24 CC0_DITH4 Compare and Capture CC%s 0x44 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 4 20 DITHERCY Dithering Cycle Number 0 4 CC0_DITH5 Compare and Capture CC%s 0x44 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 5 19 DITHERCY Dithering Cycle Number 0 5 CC0_DITH6 Compare and Capture CC%s 0x44 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 6 18 DITHERCY Dithering Cycle Number 0 6 CC1 Compare and Capture 0x48 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 0 24 CC1_DITH4 Compare and Capture CC%s 0x48 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 4 20 DITHERCY Dithering Cycle Number 0 4 CC1_DITH5 Compare and Capture CC%s 0x48 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 5 19 DITHERCY Dithering Cycle Number 0 5 CC1_DITH6 Compare and Capture CC%s 0x48 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 6 18 DITHERCY Dithering Cycle Number 0 6 CC2 Compare and Capture 0x4C 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 0 24 CC2_DITH4 Compare and Capture CC%s 0x4C 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 4 20 DITHERCY Dithering Cycle Number 0 4 CC2_DITH5 Compare and Capture CC%s 0x4C 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 5 19 DITHERCY Dithering Cycle Number 0 5 CC2_DITH6 Compare and Capture CC%s 0x4C 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 6 18 DITHERCY Dithering Cycle Number 0 6 CC3 Compare and Capture 0x50 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 0 24 CC3_DITH4 Compare and Capture CC%s 0x50 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 4 20 DITHERCY Dithering Cycle Number 0 4 CC3_DITH5 Compare and Capture CC%s 0x50 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 5 19 DITHERCY Dithering Cycle Number 0 5 CC3_DITH6 Compare and Capture CC%s 0x50 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 6 18 DITHERCY Dithering Cycle Number 0 6 CCB0 Compare and Capture Buffer 0x70 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 0 24 CCB0_DITH4 Compare and Capture Buffer CCB%s 0x70 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 4 20 DITHERCYB Dithering Buffer Cycle Number 0 4 CCB0_DITH5 Compare and Capture Buffer CCB%s 0x70 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 5 19 DITHERCYB Dithering Buffer Cycle Number 0 5 CCB0_DITH6 Compare and Capture Buffer CCB%s 0x70 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 6 18 DITHERCYB Dithering Buffer Cycle Number 0 6 CCB1 Compare and Capture Buffer 0x74 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 0 24 CCB1_DITH4 Compare and Capture Buffer CCB%s 0x74 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 4 20 DITHERCYB Dithering Buffer Cycle Number 0 4 CCB1_DITH5 Compare and Capture Buffer CCB%s 0x74 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 5 19 DITHERCYB Dithering Buffer Cycle Number 0 5 CCB1_DITH6 Compare and Capture Buffer CCB%s 0x74 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 6 18 DITHERCYB Dithering Buffer Cycle Number 0 6 CCB2 Compare and Capture Buffer 0x78 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 0 24 CCB2_DITH4 Compare and Capture Buffer CCB%s 0x78 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 4 20 DITHERCYB Dithering Buffer Cycle Number 0 4 CCB2_DITH5 Compare and Capture Buffer CCB%s 0x78 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 5 19 DITHERCYB Dithering Buffer Cycle Number 0 5 CCB2_DITH6 Compare and Capture Buffer CCB%s 0x78 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 6 18 DITHERCYB Dithering Buffer Cycle Number 0 6 CCB3 Compare and Capture Buffer 0x7C 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 0 24 CCB3_DITH4 Compare and Capture Buffer CCB%s 0x7C 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 4 20 DITHERCYB Dithering Buffer Cycle Number 0 4 CCB3_DITH5 Compare and Capture Buffer CCB%s 0x7C 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 5 19 DITHERCYB Dithering Buffer Cycle Number 0 5 CCB3_DITH6 Compare and Capture Buffer CCB%s 0x7C 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 6 18 DITHERCYB Dithering Buffer Cycle Number 0 6 COUNT Count 0x34 32 read-write n 0x0 0x0 COUNT Counter Value 0 24 COUNT_DITH4 Count COUNT 0x34 32 read-write n 0x0 0x0 COUNT Counter Value 4 20 COUNT_DITH5 Count COUNT 0x34 32 read-write n 0x0 0x0 COUNT Counter Value 5 19 COUNT_DITH6 Count COUNT 0x34 32 read-write n 0x0 0x0 COUNT Counter Value 6 18 CTRLA Control A 0x0 32 read-write n 0x0 0x0 ALOCK Auto Lock 14 1 CPTEN0 Capture Channel 0 Enable 24 1 CPTEN1 Capture Channel 1 Enable 25 1 CPTEN2 Capture Channel 2 Enable 26 1 CPTEN3 Capture Channel 3 Enable 27 1 ENABLE Enable 1 1 PRESCALER Prescaler 8 3 PRESCALERSelect DIV1 No division 0x0 DIV2 Divide by 2 0x1 DIV4 Divide by 4 0x2 DIV8 Divide by 8 0x3 DIV16 Divide by 16 0x4 DIV64 Divide by 64 0x5 DIV256 Divide by 256 0x6 DIV1024 Divide by 1024 0x7 PRESCSYNC Prescaler and Counter Synchronization Selection 12 2 PRESCSYNCSelect GCLK Reload or reset counter on next GCLK 0x0 PRESC Reload or reset counter on next prescaler clock 0x1 RESYNC Reload or reset counter on next GCLK and reset prescaler counter 0x2 RESOLUTION Enhanced Resolution 5 2 RESOLUTIONSelect NONE Dithering is disabled 0x0 DITH4 Dithering is done every 16 PWM frames 0x1 DITH5 Dithering is done every 32 PWM frames 0x2 DITH6 Dithering is done every 64 PWM frames 0x3 RUNSTDBY Run in Standby 11 1 SWRST Software Reset 0 1 CTRLBCLR Control B Clear 0x4 8 read-write n 0x0 0x0 CMD TCC Command 5 3 CMDSelect NONE No action 0x0 RETRIGGER Clear start, restart or retrigger 0x1 STOP Force stop 0x2 UPDATE Force update of double buffered registers 0x3 READSYNC Force COUNT read synchronization 0x4 DIR Counter Direction 0 1 IDXCMD Ramp Index Command 3 2 IDXCMDSelect DISABLE Command disabled: Index toggles between cycles A and B 0x0 SET Set index: cycle B will be forced in the next cycle 0x1 CLEAR Clear index: cycle A will be forced in the next cycle 0x2 HOLD Hold index: the next cycle will be the same as the current cycle 0x3 LUPD Lock Update 1 1 ONESHOT One-Shot 2 1 CTRLBSET Control B Set 0x5 8 read-write n 0x0 0x0 CMD TCC Command 5 3 CMDSelect NONE No action 0x0 RETRIGGER Clear start, restart or retrigger 0x1 STOP Force stop 0x2 UPDATE Force update of double buffered registers 0x3 READSYNC Force COUNT read synchronization 0x4 DIR Counter Direction 0 1 IDXCMD Ramp Index Command 3 2 IDXCMDSelect DISABLE Command disabled: Index toggles between cycles A and B 0x0 SET Set index: cycle B will be forced in the next cycle 0x1 CLEAR Clear index: cycle A will be forced in the next cycle 0x2 HOLD Hold index: the next cycle will be the same as the current cycle 0x3 LUPD Lock Update 1 1 ONESHOT One-Shot 2 1 DBGCTRL Debug Control 0x1E 8 read-write n 0x0 0x0 DBGRUN Debug Running Mode 0 1 FDDBD Fault Detection on Debug Break Detection 2 1 DRVCTRL Driver Control 0x18 32 read-write n 0x0 0x0 FILTERVAL0 Non-Recoverable Fault Input 0 Filter Value 24 4 FILTERVAL1 Non-Recoverable Fault Input 1 Filter Value 28 4 INVEN0 Output Waveform 0 Inversion 16 1 INVEN1 Output Waveform 1 Inversion 17 1 INVEN2 Output Waveform 2 Inversion 18 1 INVEN3 Output Waveform 3 Inversion 19 1 INVEN4 Output Waveform 4 Inversion 20 1 INVEN5 Output Waveform 5 Inversion 21 1 INVEN6 Output Waveform 6 Inversion 22 1 INVEN7 Output Waveform 7 Inversion 23 1 NRE0 Non-Recoverable State 0 Output Enable 0 1 NRE1 Non-Recoverable State 1 Output Enable 1 1 NRE2 Non-Recoverable State 2 Output Enable 2 1 NRE3 Non-Recoverable State 3 Output Enable 3 1 NRE4 Non-Recoverable State 4 Output Enable 4 1 NRE5 Non-Recoverable State 5 Output Enable 5 1 NRE6 Non-Recoverable State 6 Output Enable 6 1 NRE7 Non-Recoverable State 7 Output Enable 7 1 NRV0 Non-Recoverable State 0 Output Value 8 1 NRV1 Non-Recoverable State 1 Output Value 9 1 NRV2 Non-Recoverable State 2 Output Value 10 1 NRV3 Non-Recoverable State 3 Output Value 11 1 NRV4 Non-Recoverable State 4 Output Value 12 1 NRV5 Non-Recoverable State 5 Output Value 13 1 NRV6 Non-Recoverable State 6 Output Value 14 1 NRV7 Non-Recoverable State 7 Output Value 15 1 EVCTRL Event Control 0x20 32 read-write n 0x0 0x0 CNTEO Timer/counter Output Event Enable 10 1 CNTSEL Timer/counter Output Event Mode 6 2 CNTSELSelect START An interrupt/event is generated when a new counter cycle starts 0x0 END An interrupt/event is generated when a counter cycle ends 0x1 BETWEEN An interrupt/event is generated when a counter cycle ends, except for the first and last cycles 0x2 BOUNDARY An interrupt/event is generated when a new counter cycle starts or a counter cycle ends 0x3 EVACT0 Timer/counter Input Event0 Action 0 3 EVACT0Select OFF Event action disabled 0x0 RETRIGGER Start, restart or re-trigger counter on event 0x1 COUNTEV Count on event 0x2 START Start counter on event 0x3 INC Increment counter on event 0x4 COUNT Count on active state of asynchronous event 0x5 STAMP Stamp capture 0x6 FAULT Non-recoverable fault 0x7 EVACT1 Timer/counter Input Event1 Action 3 3 EVACT1Select OFF Event action disabled 0x0 RETRIGGER Re-trigger counter on event 0x1 DIR Direction control 0x2 STOP Stop counter on event 0x3 DEC Decrement counter on event 0x4 PPW Period capture value in CC0 register, pulse width capture value in CC1 register 0x5 PWP Period capture value in CC1 register, pulse width capture value in CC0 register 0x6 FAULT Non-recoverable fault 0x7 MCEI0 Match or Capture Channel 0 Event Input Enable 16 1 MCEI1 Match or Capture Channel 1 Event Input Enable 17 1 MCEI2 Match or Capture Channel 2 Event Input Enable 18 1 MCEI3 Match or Capture Channel 3 Event Input Enable 19 1 MCEO0 Match or Capture Channel 0 Event Output Enable 24 1 MCEO1 Match or Capture Channel 1 Event Output Enable 25 1 MCEO2 Match or Capture Channel 2 Event Output Enable 26 1 MCEO3 Match or Capture Channel 3 Event Output Enable 27 1 OVFEO Overflow/Underflow Output Event Enable 8 1 TCEI0 Timer/counter Event 0 Input Enable 14 1 TCEI1 Timer/counter Event 1 Input Enable 15 1 TCINV0 Inverted Event 0 Input Enable 12 1 TCINV1 Inverted Event 1 Input Enable 13 1 TRGEO Retrigger Output Event Enable 9 1 FCTRLA Recoverable Fault A Configuration 0xC 32 read-write n 0x0 0x0 BLANK Fault A Blanking Mode 5 2 BLANKSelect START Blanking applied from start of ramp 0x0 RISE Blanking applied from rising edge of the output waveform 0x1 FALL Blanking applied from falling edge of the output waveform 0x2 BOTH Blanking applied from each toggle of the output waveform 0x3 BLANKPRESC Fault A Blanking Prescaler 15 1 BLANKVAL Fault A Blanking Time 16 8 CAPTURE Fault A Capture Action 12 3 CAPTURESelect DISABLE No capture 0x0 CAPT Capture on fault 0x1 CAPTMIN Minimum capture 0x2 CAPTMAX Maximum capture 0x3 LOCMIN Minimum local detection 0x4 LOCMAX Maximum local detection 0x5 DERIV0 Minimum and maximum local detection 0x6 CAPTMARK Capture with ramp index as MSB value 0x7 CHSEL Fault A Capture Channel 10 2 CHSELSelect CC0 Capture value stored in channel 0 0x0 CC1 Capture value stored in channel 1 0x1 CC2 Capture value stored in channel 2 0x2 CC3 Capture value stored in channel 3 0x3 FILTERVAL Fault A Filter Value 24 4 HALT Fault A Halt Mode 8 2 HALTSelect DISABLE Halt action disabled 0x0 HW Hardware halt action 0x1 SW Software halt action 0x2 NR Non-recoverable fault 0x3 KEEP Fault A Keeper 3 1 QUAL Fault A Qualification 4 1 RESTART Fault A Restart 7 1 SRC Fault A Source 0 2 SRCSelect DISABLE Fault input disabled 0x0 ENABLE MCEx (x=0,1) event input 0x1 INVERT Inverted MCEx (x=0,1) event input 0x2 ALTFAULT Alternate fault (A or B) state at the end of the previous period 0x3 FCTRLB Recoverable Fault B Configuration 0x10 32 read-write n 0x0 0x0 BLANK Fault B Blanking Mode 5 2 BLANKSelect START Blanking applied from start of ramp 0x0 RISE Blanking applied from rising edge of the output waveform 0x1 FALL Blanking applied from falling edge of the output waveform 0x2 BOTH Blanking applied from each toggle of the output waveform 0x3 BLANKPRESC Fault B Blanking Prescaler 15 1 BLANKVAL Fault B Blanking Time 16 8 CAPTURE Fault B Capture Action 12 3 CAPTURESelect DISABLE No capture 0x0 CAPT Capture on fault 0x1 CAPTMIN Minimum capture 0x2 CAPTMAX Maximum capture 0x3 LOCMIN Minimum local detection 0x4 LOCMAX Maximum local detection 0x5 DERIV0 Minimum and maximum local detection 0x6 CAPTMARK Capture with ramp index as MSB value 0x7 CHSEL Fault B Capture Channel 10 2 CHSELSelect CC0 Capture value stored in channel 0 0x0 CC1 Capture value stored in channel 1 0x1 CC2 Capture value stored in channel 2 0x2 CC3 Capture value stored in channel 3 0x3 FILTERVAL Fault B Filter Value 24 4 HALT Fault B Halt Mode 8 2 HALTSelect DISABLE Halt action disabled 0x0 HW Hardware halt action 0x1 SW Software halt action 0x2 NR Non-recoverable fault 0x3 KEEP Fault B Keeper 3 1 QUAL Fault B Qualification 4 1 RESTART Fault B Restart 7 1 SRC Fault B Source 0 2 SRCSelect DISABLE Fault input disabled 0x0 ENABLE MCEx (x=0,1) event input 0x1 INVERT Inverted MCEx (x=0,1) event input 0x2 ALTFAULT Alternate fault (A or B) state at the end of the previous period 0x3 INTENCLR Interrupt Enable Clear 0x24 32 read-write n 0x0 0x0 CNT Counter Interrupt Enable 2 1 DFS Non-Recoverable Debug Fault Interrupt Enable 11 1 ERR Error Interrupt Enable 3 1 FAULT0 Non-Recoverable Fault 0 Interrupt Enable 14 1 FAULT1 Non-Recoverable Fault 1 Interrupt Enable 15 1 FAULTA Recoverable Fault A Interrupt Enable 12 1 FAULTB Recoverable Fault B Interrupt Enable 13 1 MC0 Match or Capture Channel 0 Interrupt Enable 16 1 MC1 Match or Capture Channel 1 Interrupt Enable 17 1 MC2 Match or Capture Channel 2 Interrupt Enable 18 1 MC3 Match or Capture Channel 3 Interrupt Enable 19 1 OVF Overflow Interrupt Enable 0 1 TRG Retrigger Interrupt Enable 1 1 UFS Non-Recoverable Update Fault Interrupt Enable 10 1 INTENSET Interrupt Enable Set 0x28 32 read-write n 0x0 0x0 CNT Counter Interrupt Enable 2 1 DFS Non-Recoverable Debug Fault Interrupt Enable 11 1 ERR Error Interrupt Enable 3 1 FAULT0 Non-Recoverable Fault 0 Interrupt Enable 14 1 FAULT1 Non-Recoverable Fault 1 Interrupt Enable 15 1 FAULTA Recoverable Fault A Interrupt Enable 12 1 FAULTB Recoverable Fault B Interrupt Enable 13 1 MC0 Match or Capture Channel 0 Interrupt Enable 16 1 MC1 Match or Capture Channel 1 Interrupt Enable 17 1 MC2 Match or Capture Channel 2 Interrupt Enable 18 1 MC3 Match or Capture Channel 3 Interrupt Enable 19 1 OVF Overflow Interrupt Enable 0 1 TRG Retrigger Interrupt Enable 1 1 UFS Non-Recoverable Update Fault Interrupt Enable 10 1 INTFLAG Interrupt Flag Status and Clear 0x2C 32 read-write n 0x0 0x0 CNT Counter 2 1 DFS Non-Recoverable Debug Fault 11 1 ERR Error 3 1 FAULT0 Non-Recoverable Fault 0 14 1 FAULT1 Non-Recoverable Fault 1 15 1 FAULTA Recoverable Fault A 12 1 FAULTB Recoverable Fault B 13 1 MC0 Match or Capture 0 16 1 MC1 Match or Capture 1 17 1 MC2 Match or Capture 2 18 1 MC3 Match or Capture 3 19 1 OVF Overflow 0 1 TRG Retrigger 1 1 UFS Non-Recoverable Update Fault 10 1 PATT Pattern 0x38 16 read-write n 0x0 0x0 PGE0 Pattern Generator 0 Output Enable 0 1 PGE1 Pattern Generator 1 Output Enable 1 1 PGE2 Pattern Generator 2 Output Enable 2 1 PGE3 Pattern Generator 3 Output Enable 3 1 PGE4 Pattern Generator 4 Output Enable 4 1 PGE5 Pattern Generator 5 Output Enable 5 1 PGE6 Pattern Generator 6 Output Enable 6 1 PGE7 Pattern Generator 7 Output Enable 7 1 PGV0 Pattern Generator 0 Output Value 8 1 PGV1 Pattern Generator 1 Output Value 9 1 PGV2 Pattern Generator 2 Output Value 10 1 PGV3 Pattern Generator 3 Output Value 11 1 PGV4 Pattern Generator 4 Output Value 12 1 PGV5 Pattern Generator 5 Output Value 13 1 PGV6 Pattern Generator 6 Output Value 14 1 PGV7 Pattern Generator 7 Output Value 15 1 PATTB Pattern Buffer 0x64 16 read-write n 0x0 0x0 PGEB0 Pattern Generator 0 Output Enable Buffer 0 1 PGEB1 Pattern Generator 1 Output Enable Buffer 1 1 PGEB2 Pattern Generator 2 Output Enable Buffer 2 1 PGEB3 Pattern Generator 3 Output Enable Buffer 3 1 PGEB4 Pattern Generator 4 Output Enable Buffer 4 1 PGEB5 Pattern Generator 5 Output Enable Buffer 5 1 PGEB6 Pattern Generator 6 Output Enable Buffer 6 1 PGEB7 Pattern Generator 7 Output Enable Buffer 7 1 PGVB0 Pattern Generator 0 Output Enable 8 1 PGVB1 Pattern Generator 1 Output Enable 9 1 PGVB2 Pattern Generator 2 Output Enable 10 1 PGVB3 Pattern Generator 3 Output Enable 11 1 PGVB4 Pattern Generator 4 Output Enable 12 1 PGVB5 Pattern Generator 5 Output Enable 13 1 PGVB6 Pattern Generator 6 Output Enable 14 1 PGVB7 Pattern Generator 7 Output Enable 15 1 PER Period 0x40 32 read-write n 0x0 0x0 PER Period Value 0 24 PERB Period Buffer 0x6C 32 read-write n 0x0 0x0 PERB Period Buffer Value 0 24 PERB_DITH4 Period Buffer PERB 0x6C 32 read-write n 0x0 0x0 DITHERCYB Dithering Buffer Cycle Number 0 4 PERB Period Buffer Value 4 20 PERB_DITH5 Period Buffer PERB 0x6C 32 read-write n 0x0 0x0 DITHERCYB Dithering Buffer Cycle Number 0 5 PERB Period Buffer Value 5 19 PERB_DITH6 Period Buffer PERB 0x6C 32 read-write n 0x0 0x0 DITHERCYB Dithering Buffer Cycle Number 0 6 PERB Period Buffer Value 6 18 PER_DITH4 Period PER 0x40 32 read-write n 0x0 0x0 DITHERCY Dithering Cycle Number 0 4 PER Period Value 4 20 PER_DITH5 Period PER 0x40 32 read-write n 0x0 0x0 DITHERCY Dithering Cycle Number 0 5 PER Period Value 5 19 PER_DITH6 Period PER 0x40 32 read-write n 0x0 0x0 DITHERCY Dithering Cycle Number 0 6 PER Period Value 6 18 STATUS Status 0x30 32 read-write n 0x0 0x0 CCBV0 Compare Channel 0 Buffer Valid 16 1 CCBV1 Compare Channel 1 Buffer Valid 17 1 CCBV2 Compare Channel 2 Buffer Valid 18 1 CCBV3 Compare Channel 3 Buffer Valid 19 1 CMP0 Compare Channel 0 Value 24 1 read-only CMP1 Compare Channel 1 Value 25 1 read-only CMP2 Compare Channel 2 Value 26 1 read-only CMP3 Compare Channel 3 Value 27 1 read-only DFS Non-Recoverable Debug Fault State 3 1 FAULT0 Non-Recoverable Fault 0 State 14 1 FAULT0IN Non-Recoverable Fault0 Input 10 1 read-only FAULT1 Non-Recoverable Fault 1 State 15 1 FAULT1IN Non-Recoverable Fault1 Input 11 1 read-only FAULTA Recoverable Fault A State 12 1 FAULTAIN Recoverable Fault A Input 8 1 read-only FAULTB Recoverable Fault B State 13 1 FAULTBIN Recoverable Fault B Input 9 1 read-only IDX Ramp 1 1 read-only PATTBV Pattern Buffer Valid 5 1 PERBV Period Buffer Valid 7 1 SLAVE Slave 4 1 read-only STOP Stop 0 1 read-only UFS Non-Recoverable Update Fault State 2 1 WAVEBV Wave Buffer Valid 6 1 SYNCBUSY Synchronization Busy 0x8 32 read-only n 0x0 0x0 CC0 Compare Channel 0 Busy 8 1 CC1 Compare Channel 1 Busy 9 1 CC2 Compare Channel 2 Busy 10 1 CC3 Compare Channel 3 Busy 11 1 CCB0 Compare Channel Buffer 0 Busy 19 1 CCB1 Compare Channel Buffer 1 Busy 20 1 CCB2 Compare Channel Buffer 2 Busy 21 1 CCB3 Compare Channel Buffer 3 Busy 22 1 COUNT Count Busy 4 1 CTRLB Ctrlb Busy 2 1 ENABLE Enable Busy 1 1 PATT Pattern Busy 5 1 PATTB Pattern Buffer Busy 16 1 PER Period busy 7 1 PERB Period Buffer Busy 18 1 STATUS Status Busy 3 1 SWRST Swrst Busy 0 1 WAVE Wave Busy 6 1 WAVEB Wave Buffer Busy 17 1 TCC_CC0 Compare and Capture 0x88 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 0 24 TCC_CC0_DITH4 Compare and Capture CC%s 0x88 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 4 20 DITHERCY Dithering Cycle Number 0 4 TCC_CC0_DITH5 Compare and Capture CC%s 0x88 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 5 19 DITHERCY Dithering Cycle Number 0 5 TCC_CC0_DITH6 Compare and Capture CC%s 0x88 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 6 18 DITHERCY Dithering Cycle Number 0 6 TCC_CC1 Compare and Capture 0xD0 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 0 24 TCC_CC1_DITH4 Compare and Capture CC%s 0xD0 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 4 20 DITHERCY Dithering Cycle Number 0 4 TCC_CC1_DITH5 Compare and Capture CC%s 0xD0 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 5 19 DITHERCY Dithering Cycle Number 0 5 TCC_CC1_DITH6 Compare and Capture CC%s 0xD0 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 6 18 DITHERCY Dithering Cycle Number 0 6 TCC_CC2 Compare and Capture 0x11C 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 0 24 TCC_CC2_DITH4 Compare and Capture CC%s 0x11C 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 4 20 DITHERCY Dithering Cycle Number 0 4 TCC_CC2_DITH5 Compare and Capture CC%s 0x11C 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 5 19 DITHERCY Dithering Cycle Number 0 5 TCC_CC2_DITH6 Compare and Capture CC%s 0x11C 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 6 18 DITHERCY Dithering Cycle Number 0 6 TCC_CC3 Compare and Capture 0x16C 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 0 24 TCC_CC3_DITH4 Compare and Capture CC%s 0x16C 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 4 20 DITHERCY Dithering Cycle Number 0 4 TCC_CC3_DITH5 Compare and Capture CC%s 0x16C 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 5 19 DITHERCY Dithering Cycle Number 0 5 TCC_CC3_DITH6 Compare and Capture CC%s 0x16C 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 6 18 DITHERCY Dithering Cycle Number 0 6 TCC_CCB0 Compare and Capture Buffer 0xE0 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 0 24 TCC_CCB0_DITH4 Compare and Capture Buffer CCB%s 0xE0 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 4 20 DITHERCYB Dithering Buffer Cycle Number 0 4 TCC_CCB0_DITH5 Compare and Capture Buffer CCB%s 0xE0 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 5 19 DITHERCYB Dithering Buffer Cycle Number 0 5 TCC_CCB0_DITH6 Compare and Capture Buffer CCB%s 0xE0 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 6 18 DITHERCYB Dithering Buffer Cycle Number 0 6 TCC_CCB1 Compare and Capture Buffer 0x154 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 0 24 TCC_CCB1_DITH4 Compare and Capture Buffer CCB%s 0x154 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 4 20 DITHERCYB Dithering Buffer Cycle Number 0 4 TCC_CCB1_DITH5 Compare and Capture Buffer CCB%s 0x154 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 5 19 DITHERCYB Dithering Buffer Cycle Number 0 5 TCC_CCB1_DITH6 Compare and Capture Buffer CCB%s 0x154 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 6 18 DITHERCYB Dithering Buffer Cycle Number 0 6 TCC_CCB2 Compare and Capture Buffer 0x1CC 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 0 24 TCC_CCB2_DITH4 Compare and Capture Buffer CCB%s 0x1CC 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 4 20 DITHERCYB Dithering Buffer Cycle Number 0 4 TCC_CCB2_DITH5 Compare and Capture Buffer CCB%s 0x1CC 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 5 19 DITHERCYB Dithering Buffer Cycle Number 0 5 TCC_CCB2_DITH6 Compare and Capture Buffer CCB%s 0x1CC 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 6 18 DITHERCYB Dithering Buffer Cycle Number 0 6 TCC_CCB3 Compare and Capture Buffer 0x248 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 0 24 TCC_CCB3_DITH4 Compare and Capture Buffer CCB%s 0x248 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 4 20 DITHERCYB Dithering Buffer Cycle Number 0 4 TCC_CCB3_DITH5 Compare and Capture Buffer CCB%s 0x248 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 5 19 DITHERCYB Dithering Buffer Cycle Number 0 5 TCC_CCB3_DITH6 Compare and Capture Buffer CCB%s 0x248 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 6 18 DITHERCYB Dithering Buffer Cycle Number 0 6 TCC_COUNT Count 0x34 32 read-write n 0x0 0x0 COUNT Counter Value 0 24 TCC_COUNT_DITH4 Count COUNT 0x34 32 read-write n 0x0 0x0 COUNT Counter Value 4 20 TCC_COUNT_DITH5 Count COUNT 0x34 32 read-write n 0x0 0x0 COUNT Counter Value 5 19 TCC_COUNT_DITH6 Count COUNT 0x34 32 read-write n 0x0 0x0 COUNT Counter Value 6 18 TCC_CTRLA Control A 0x0 32 read-write n 0x0 0x0 ALOCK Auto Lock 14 1 CPTEN0 Capture Channel 0 Enable 24 1 CPTEN1 Capture Channel 1 Enable 25 1 CPTEN2 Capture Channel 2 Enable 26 1 CPTEN3 Capture Channel 3 Enable 27 1 ENABLE Enable 1 1 PRESCALER Prescaler 8 3 PRESCALERSelect DIV1 No division 0x0 DIV2 Divide by 2 0x1 DIV4 Divide by 4 0x2 DIV8 Divide by 8 0x3 DIV16 Divide by 16 0x4 DIV64 Divide by 64 0x5 DIV256 Divide by 256 0x6 DIV1024 Divide by 1024 0x7 PRESCSYNC Prescaler and Counter Synchronization Selection 12 2 PRESCSYNCSelect GCLK Reload or reset counter on next GCLK 0x0 PRESC Reload or reset counter on next prescaler clock 0x1 RESYNC Reload or reset counter on next GCLK and reset prescaler counter 0x2 RESOLUTION Enhanced Resolution 5 2 RESOLUTIONSelect NONE Dithering is disabled 0x0 DITH4 Dithering is done every 16 PWM frames 0x1 DITH5 Dithering is done every 32 PWM frames 0x2 DITH6 Dithering is done every 64 PWM frames 0x3 RUNSTDBY Run in Standby 11 1 SWRST Software Reset 0 1 TCC_CTRLBCLR Control B Clear 0x4 8 read-write n 0x0 0x0 CMD TCC Command 5 3 CMDSelect NONE No action 0x0 RETRIGGER Clear start, restart or retrigger 0x1 STOP Force stop 0x2 UPDATE Force update of double buffered registers 0x3 READSYNC Force COUNT read synchronization 0x4 DIR Counter Direction 0 1 IDXCMD Ramp Index Command 3 2 IDXCMDSelect DISABLE Command disabled: Index toggles between cycles A and B 0x0 SET Set index: cycle B will be forced in the next cycle 0x1 CLEAR Clear index: cycle A will be forced in the next cycle 0x2 HOLD Hold index: the next cycle will be the same as the current cycle 0x3 LUPD Lock Update 1 1 ONESHOT One-Shot 2 1 TCC_CTRLBSET Control B Set 0x5 8 read-write n 0x0 0x0 CMD TCC Command 5 3 CMDSelect NONE No action 0x0 RETRIGGER Clear start, restart or retrigger 0x1 STOP Force stop 0x2 UPDATE Force update of double buffered registers 0x3 READSYNC Force COUNT read synchronization 0x4 DIR Counter Direction 0 1 IDXCMD Ramp Index Command 3 2 IDXCMDSelect DISABLE Command disabled: Index toggles between cycles A and B 0x0 SET Set index: cycle B will be forced in the next cycle 0x1 CLEAR Clear index: cycle A will be forced in the next cycle 0x2 HOLD Hold index: the next cycle will be the same as the current cycle 0x3 LUPD Lock Update 1 1 ONESHOT One-Shot 2 1 TCC_DBGCTRL Debug Control 0x1E 8 read-write n 0x0 0x0 DBGRUN Debug Running Mode 0 1 FDDBD Fault Detection on Debug Break Detection 2 1 TCC_DRVCTRL Driver Control 0x18 32 read-write n 0x0 0x0 FILTERVAL0 Non-Recoverable Fault Input 0 Filter Value 24 4 FILTERVAL1 Non-Recoverable Fault Input 1 Filter Value 28 4 INVEN0 Output Waveform 0 Inversion 16 1 INVEN1 Output Waveform 1 Inversion 17 1 INVEN2 Output Waveform 2 Inversion 18 1 INVEN3 Output Waveform 3 Inversion 19 1 INVEN4 Output Waveform 4 Inversion 20 1 INVEN5 Output Waveform 5 Inversion 21 1 INVEN6 Output Waveform 6 Inversion 22 1 INVEN7 Output Waveform 7 Inversion 23 1 NRE0 Non-Recoverable State 0 Output Enable 0 1 NRE1 Non-Recoverable State 1 Output Enable 1 1 NRE2 Non-Recoverable State 2 Output Enable 2 1 NRE3 Non-Recoverable State 3 Output Enable 3 1 NRE4 Non-Recoverable State 4 Output Enable 4 1 NRE5 Non-Recoverable State 5 Output Enable 5 1 NRE6 Non-Recoverable State 6 Output Enable 6 1 NRE7 Non-Recoverable State 7 Output Enable 7 1 NRV0 Non-Recoverable State 0 Output Value 8 1 NRV1 Non-Recoverable State 1 Output Value 9 1 NRV2 Non-Recoverable State 2 Output Value 10 1 NRV3 Non-Recoverable State 3 Output Value 11 1 NRV4 Non-Recoverable State 4 Output Value 12 1 NRV5 Non-Recoverable State 5 Output Value 13 1 NRV6 Non-Recoverable State 6 Output Value 14 1 NRV7 Non-Recoverable State 7 Output Value 15 1 TCC_EVCTRL Event Control 0x20 32 read-write n 0x0 0x0 CNTEO Timer/counter Output Event Enable 10 1 CNTSEL Timer/counter Output Event Mode 6 2 CNTSELSelect START An interrupt/event is generated when a new counter cycle starts 0x0 END An interrupt/event is generated when a counter cycle ends 0x1 BETWEEN An interrupt/event is generated when a counter cycle ends, except for the first and last cycles 0x2 BOUNDARY An interrupt/event is generated when a new counter cycle starts or a counter cycle ends 0x3 EVACT0 Timer/counter Input Event0 Action 0 3 EVACT0Select OFF Event action disabled 0x0 RETRIGGER Start, restart or re-trigger counter on event 0x1 COUNTEV Count on event 0x2 START Start counter on event 0x3 INC Increment counter on event 0x4 COUNT Count on active state of asynchronous event 0x5 STAMP Stamp capture 0x6 FAULT Non-recoverable fault 0x7 EVACT1 Timer/counter Input Event1 Action 3 3 EVACT1Select OFF Event action disabled 0x0 RETRIGGER Re-trigger counter on event 0x1 DIR Direction control 0x2 STOP Stop counter on event 0x3 DEC Decrement counter on event 0x4 PPW Period capture value in CC0 register, pulse width capture value in CC1 register 0x5 PWP Period capture value in CC1 register, pulse width capture value in CC0 register 0x6 FAULT Non-recoverable fault 0x7 MCEI0 Match or Capture Channel 0 Event Input Enable 16 1 MCEI1 Match or Capture Channel 1 Event Input Enable 17 1 MCEI2 Match or Capture Channel 2 Event Input Enable 18 1 MCEI3 Match or Capture Channel 3 Event Input Enable 19 1 MCEO0 Match or Capture Channel 0 Event Output Enable 24 1 MCEO1 Match or Capture Channel 1 Event Output Enable 25 1 MCEO2 Match or Capture Channel 2 Event Output Enable 26 1 MCEO3 Match or Capture Channel 3 Event Output Enable 27 1 OVFEO Overflow/Underflow Output Event Enable 8 1 TCEI0 Timer/counter Event 0 Input Enable 14 1 TCEI1 Timer/counter Event 1 Input Enable 15 1 TCINV0 Inverted Event 0 Input Enable 12 1 TCINV1 Inverted Event 1 Input Enable 13 1 TRGEO Retrigger Output Event Enable 9 1 TCC_FCTRLA Recoverable Fault A Configuration 0xC 32 read-write n 0x0 0x0 BLANK Fault A Blanking Mode 5 2 BLANKSelect START Blanking applied from start of ramp 0x0 RISE Blanking applied from rising edge of the output waveform 0x1 FALL Blanking applied from falling edge of the output waveform 0x2 BOTH Blanking applied from each toggle of the output waveform 0x3 BLANKPRESC Fault A Blanking Prescaler 15 1 BLANKVAL Fault A Blanking Time 16 8 CAPTURE Fault A Capture Action 12 3 CAPTURESelect DISABLE No capture 0x0 CAPT Capture on fault 0x1 CAPTMIN Minimum capture 0x2 CAPTMAX Maximum capture 0x3 LOCMIN Minimum local detection 0x4 LOCMAX Maximum local detection 0x5 DERIV0 Minimum and maximum local detection 0x6 CAPTMARK Capture with ramp index as MSB value 0x7 CHSEL Fault A Capture Channel 10 2 CHSELSelect CC0 Capture value stored in channel 0 0x0 CC1 Capture value stored in channel 1 0x1 CC2 Capture value stored in channel 2 0x2 CC3 Capture value stored in channel 3 0x3 FILTERVAL Fault A Filter Value 24 4 HALT Fault A Halt Mode 8 2 HALTSelect DISABLE Halt action disabled 0x0 HW Hardware halt action 0x1 SW Software halt action 0x2 NR Non-recoverable fault 0x3 KEEP Fault A Keeper 3 1 QUAL Fault A Qualification 4 1 RESTART Fault A Restart 7 1 SRC Fault A Source 0 2 SRCSelect DISABLE Fault input disabled 0x0 ENABLE MCEx (x=0,1) event input 0x1 INVERT Inverted MCEx (x=0,1) event input 0x2 ALTFAULT Alternate fault (A or B) state at the end of the previous period 0x3 TCC_FCTRLB Recoverable Fault B Configuration 0x10 32 read-write n 0x0 0x0 BLANK Fault B Blanking Mode 5 2 BLANKSelect START Blanking applied from start of ramp 0x0 RISE Blanking applied from rising edge of the output waveform 0x1 FALL Blanking applied from falling edge of the output waveform 0x2 BOTH Blanking applied from each toggle of the output waveform 0x3 BLANKPRESC Fault B Blanking Prescaler 15 1 BLANKVAL Fault B Blanking Time 16 8 CAPTURE Fault B Capture Action 12 3 CAPTURESelect DISABLE No capture 0x0 CAPT Capture on fault 0x1 CAPTMIN Minimum capture 0x2 CAPTMAX Maximum capture 0x3 LOCMIN Minimum local detection 0x4 LOCMAX Maximum local detection 0x5 DERIV0 Minimum and maximum local detection 0x6 CAPTMARK Capture with ramp index as MSB value 0x7 CHSEL Fault B Capture Channel 10 2 CHSELSelect CC0 Capture value stored in channel 0 0x0 CC1 Capture value stored in channel 1 0x1 CC2 Capture value stored in channel 2 0x2 CC3 Capture value stored in channel 3 0x3 FILTERVAL Fault B Filter Value 24 4 HALT Fault B Halt Mode 8 2 HALTSelect DISABLE Halt action disabled 0x0 HW Hardware halt action 0x1 SW Software halt action 0x2 NR Non-recoverable fault 0x3 KEEP Fault B Keeper 3 1 QUAL Fault B Qualification 4 1 RESTART Fault B Restart 7 1 SRC Fault B Source 0 2 SRCSelect DISABLE Fault input disabled 0x0 ENABLE MCEx (x=0,1) event input 0x1 INVERT Inverted MCEx (x=0,1) event input 0x2 ALTFAULT Alternate fault (A or B) state at the end of the previous period 0x3 TCC_INTENCLR Interrupt Enable Clear 0x24 32 read-write n 0x0 0x0 CNT Counter Interrupt Enable 2 1 DFS Non-Recoverable Debug Fault Interrupt Enable 11 1 ERR Error Interrupt Enable 3 1 FAULT0 Non-Recoverable Fault 0 Interrupt Enable 14 1 FAULT1 Non-Recoverable Fault 1 Interrupt Enable 15 1 FAULTA Recoverable Fault A Interrupt Enable 12 1 FAULTB Recoverable Fault B Interrupt Enable 13 1 MC0 Match or Capture Channel 0 Interrupt Enable 16 1 MC1 Match or Capture Channel 1 Interrupt Enable 17 1 MC2 Match or Capture Channel 2 Interrupt Enable 18 1 MC3 Match or Capture Channel 3 Interrupt Enable 19 1 OVF Overflow Interrupt Enable 0 1 TRG Retrigger Interrupt Enable 1 1 UFS Non-Recoverable Update Fault Interrupt Enable 10 1 TCC_INTENSET Interrupt Enable Set 0x28 32 read-write n 0x0 0x0 CNT Counter Interrupt Enable 2 1 DFS Non-Recoverable Debug Fault Interrupt Enable 11 1 ERR Error Interrupt Enable 3 1 FAULT0 Non-Recoverable Fault 0 Interrupt Enable 14 1 FAULT1 Non-Recoverable Fault 1 Interrupt Enable 15 1 FAULTA Recoverable Fault A Interrupt Enable 12 1 FAULTB Recoverable Fault B Interrupt Enable 13 1 MC0 Match or Capture Channel 0 Interrupt Enable 16 1 MC1 Match or Capture Channel 1 Interrupt Enable 17 1 MC2 Match or Capture Channel 2 Interrupt Enable 18 1 MC3 Match or Capture Channel 3 Interrupt Enable 19 1 OVF Overflow Interrupt Enable 0 1 TRG Retrigger Interrupt Enable 1 1 UFS Non-Recoverable Update Fault Interrupt Enable 10 1 TCC_INTFLAG Interrupt Flag Status and Clear 0x2C 32 read-write n 0x0 0x0 CNT Counter 2 1 DFS Non-Recoverable Debug Fault 11 1 ERR Error 3 1 FAULT0 Non-Recoverable Fault 0 14 1 FAULT1 Non-Recoverable Fault 1 15 1 FAULTA Recoverable Fault A 12 1 FAULTB Recoverable Fault B 13 1 MC0 Match or Capture 0 16 1 MC1 Match or Capture 1 17 1 MC2 Match or Capture 2 18 1 MC3 Match or Capture 3 19 1 OVF Overflow 0 1 TRG Retrigger 1 1 UFS Non-Recoverable Update Fault 10 1 TCC_PATT Pattern 0x38 16 read-write n 0x0 0x0 PGE0 Pattern Generator 0 Output Enable 0 1 PGE1 Pattern Generator 1 Output Enable 1 1 PGE2 Pattern Generator 2 Output Enable 2 1 PGE3 Pattern Generator 3 Output Enable 3 1 PGE4 Pattern Generator 4 Output Enable 4 1 PGE5 Pattern Generator 5 Output Enable 5 1 PGE6 Pattern Generator 6 Output Enable 6 1 PGE7 Pattern Generator 7 Output Enable 7 1 PGV0 Pattern Generator 0 Output Value 8 1 PGV1 Pattern Generator 1 Output Value 9 1 PGV2 Pattern Generator 2 Output Value 10 1 PGV3 Pattern Generator 3 Output Value 11 1 PGV4 Pattern Generator 4 Output Value 12 1 PGV5 Pattern Generator 5 Output Value 13 1 PGV6 Pattern Generator 6 Output Value 14 1 PGV7 Pattern Generator 7 Output Value 15 1 TCC_PATTB Pattern Buffer 0x64 16 read-write n 0x0 0x0 PGEB0 Pattern Generator 0 Output Enable Buffer 0 1 PGEB1 Pattern Generator 1 Output Enable Buffer 1 1 PGEB2 Pattern Generator 2 Output Enable Buffer 2 1 PGEB3 Pattern Generator 3 Output Enable Buffer 3 1 PGEB4 Pattern Generator 4 Output Enable Buffer 4 1 PGEB5 Pattern Generator 5 Output Enable Buffer 5 1 PGEB6 Pattern Generator 6 Output Enable Buffer 6 1 PGEB7 Pattern Generator 7 Output Enable Buffer 7 1 PGVB0 Pattern Generator 0 Output Enable 8 1 PGVB1 Pattern Generator 1 Output Enable 9 1 PGVB2 Pattern Generator 2 Output Enable 10 1 PGVB3 Pattern Generator 3 Output Enable 11 1 PGVB4 Pattern Generator 4 Output Enable 12 1 PGVB5 Pattern Generator 5 Output Enable 13 1 PGVB6 Pattern Generator 6 Output Enable 14 1 PGVB7 Pattern Generator 7 Output Enable 15 1 TCC_PER Period 0x40 32 read-write n 0x0 0x0 PER Period Value 0 24 TCC_PERB Period Buffer 0x6C 32 read-write n 0x0 0x0 PERB Period Buffer Value 0 24 TCC_PERB_DITH4 Period Buffer PERB 0x6C 32 read-write n 0x0 0x0 DITHERCYB Dithering Buffer Cycle Number 0 4 PERB Period Buffer Value 4 20 TCC_PERB_DITH5 Period Buffer PERB 0x6C 32 read-write n 0x0 0x0 DITHERCYB Dithering Buffer Cycle Number 0 5 PERB Period Buffer Value 5 19 TCC_PERB_DITH6 Period Buffer PERB 0x6C 32 read-write n 0x0 0x0 DITHERCYB Dithering Buffer Cycle Number 0 6 PERB Period Buffer Value 6 18 TCC_PER_DITH4 Period PER 0x40 32 read-write n 0x0 0x0 DITHERCY Dithering Cycle Number 0 4 PER Period Value 4 20 TCC_PER_DITH5 Period PER 0x40 32 read-write n 0x0 0x0 DITHERCY Dithering Cycle Number 0 5 PER Period Value 5 19 TCC_PER_DITH6 Period PER 0x40 32 read-write n 0x0 0x0 DITHERCY Dithering Cycle Number 0 6 PER Period Value 6 18 TCC_STATUS Status 0x30 32 read-write n 0x0 0x0 CCBV0 Compare Channel 0 Buffer Valid 16 1 CCBV1 Compare Channel 1 Buffer Valid 17 1 CCBV2 Compare Channel 2 Buffer Valid 18 1 CCBV3 Compare Channel 3 Buffer Valid 19 1 CMP0 Compare Channel 0 Value 24 1 read-only CMP1 Compare Channel 1 Value 25 1 read-only CMP2 Compare Channel 2 Value 26 1 read-only CMP3 Compare Channel 3 Value 27 1 read-only DFS Non-Recoverable Debug Fault State 3 1 FAULT0 Non-Recoverable Fault 0 State 14 1 FAULT0IN Non-Recoverable Fault0 Input 10 1 read-only FAULT1 Non-Recoverable Fault 1 State 15 1 FAULT1IN Non-Recoverable Fault1 Input 11 1 read-only FAULTA Recoverable Fault A State 12 1 FAULTAIN Recoverable Fault A Input 8 1 read-only FAULTB Recoverable Fault B State 13 1 FAULTBIN Recoverable Fault B Input 9 1 read-only IDX Ramp 1 1 read-only PATTBV Pattern Buffer Valid 5 1 PERBV Period Buffer Valid 7 1 SLAVE Slave 4 1 read-only STOP Stop 0 1 read-only UFS Non-Recoverable Update Fault State 2 1 WAVEBV Wave Buffer Valid 6 1 TCC_SYNCBUSY Synchronization Busy 0x8 32 read-only n 0x0 0x0 CC0 Compare Channel 0 Busy 8 1 CC1 Compare Channel 1 Busy 9 1 CC2 Compare Channel 2 Busy 10 1 CC3 Compare Channel 3 Busy 11 1 CCB0 Compare Channel Buffer 0 Busy 19 1 CCB1 Compare Channel Buffer 1 Busy 20 1 CCB2 Compare Channel Buffer 2 Busy 21 1 CCB3 Compare Channel Buffer 3 Busy 22 1 COUNT Count Busy 4 1 CTRLB Ctrlb Busy 2 1 ENABLE Enable Busy 1 1 PATT Pattern Busy 5 1 PATTB Pattern Buffer Busy 16 1 PER Period busy 7 1 PERB Period Buffer Busy 18 1 STATUS Status Busy 3 1 SWRST Swrst Busy 0 1 WAVE Wave Busy 6 1 WAVEB Wave Buffer Busy 17 1 TCC_WAVE Waveform Control 0x3C 32 read-write n 0x0 0x0 CICCEN0 Circular Channel 0 Enable 8 1 CICCEN1 Circular Channel 1 Enable 9 1 CICCEN2 Circular Channel 2 Enable 10 1 CICCEN3 Circular Channel 3 Enable 11 1 CIPEREN Circular period Enable 7 1 POL0 Channel 0 Polarity 16 1 POL1 Channel 1 Polarity 17 1 POL2 Channel 2 Polarity 18 1 POL3 Channel 3 Polarity 19 1 RAMP Ramp Mode 4 2 RAMPSelect RAMP1 RAMP1 operation 0x0 RAMP2A Alternative RAMP2 operation 0x1 RAMP2 RAMP2 operation 0x2 RAMP2C Critical RAMP2 operation 0x3 SWAP0 Swap DTI Output Pair 0 24 1 SWAP1 Swap DTI Output Pair 1 25 1 SWAP2 Swap DTI Output Pair 2 26 1 SWAP3 Swap DTI Output Pair 3 27 1 WAVEGEN Waveform Generation 0 3 WAVEGENSelect NFRQ Normal frequency 0x0 MFRQ Match frequency 0x1 NPWM Normal PWM 0x2 DSCRITICAL Dual-slope critical 0x4 DSBOTTOM Dual-slope with interrupt/event condition when COUNT reaches ZERO 0x5 DSBOTH Dual-slope with interrupt/event condition when COUNT reaches ZERO or TOP 0x6 DSTOP Dual-slope with interrupt/event condition when COUNT reaches TOP 0x7 TCC_WAVEB Waveform Control Buffer 0x68 32 read-write n 0x0 0x0 CICCENB0 Circular Channel 0 Enable Buffer 8 1 CICCENB1 Circular Channel 1 Enable Buffer 9 1 CICCENB2 Circular Channel 2 Enable Buffer 10 1 CICCENB3 Circular Channel 3 Enable Buffer 11 1 CIPERENB Circular Period Enable Buffer 7 1 POLB0 Channel 0 Polarity Buffer 16 1 POLB1 Channel 1 Polarity Buffer 17 1 POLB2 Channel 2 Polarity Buffer 18 1 POLB3 Channel 3 Polarity Buffer 19 1 RAMPB Ramp Mode Buffer 4 2 RAMPBSelect RAMP1 RAMP1 operation 0x0 RAMP2A Alternative RAMP2 operation 0x1 RAMP2 RAMP2 operation 0x2 RAMP2C Critical RAMP2 operation 0x3 SWAPB0 Swap DTI Output Pair 0 Buffer 24 1 SWAPB1 Swap DTI Output Pair 1 Buffer 25 1 SWAPB2 Swap DTI Output Pair 2 Buffer 26 1 SWAPB3 Swap DTI Output Pair 3 Buffer 27 1 WAVEGENB Waveform Generation Buffer 0 3 WAVEGENBSelect NFRQ Normal frequency 0x0 MFRQ Match frequency 0x1 NPWM Normal PWM 0x2 DSCRITICAL Dual-slope critical 0x4 DSBOTTOM Dual-slope with interrupt/event condition when COUNT reaches ZERO 0x5 DSBOTH Dual-slope with interrupt/event condition when COUNT reaches ZERO or TOP 0x6 DSTOP Dual-slope with interrupt/event condition when COUNT reaches TOP 0x7 TCC_WEXCTRL Waveform Extension Configuration 0x14 32 read-write n 0x0 0x0 DTHS Dead-time High Side Outputs Value 24 8 DTIEN0 Dead-time Insertion Generator 0 Enable 8 1 DTIEN1 Dead-time Insertion Generator 1 Enable 9 1 DTIEN2 Dead-time Insertion Generator 2 Enable 10 1 DTIEN3 Dead-time Insertion Generator 3 Enable 11 1 DTLS Dead-time Low Side Outputs Value 16 8 OTMX Output Matrix 0 2 WAVE Waveform Control 0x3C 32 read-write n 0x0 0x0 CICCEN0 Circular Channel 0 Enable 8 1 CICCEN1 Circular Channel 1 Enable 9 1 CICCEN2 Circular Channel 2 Enable 10 1 CICCEN3 Circular Channel 3 Enable 11 1 CIPEREN Circular period Enable 7 1 POL0 Channel 0 Polarity 16 1 POL1 Channel 1 Polarity 17 1 POL2 Channel 2 Polarity 18 1 POL3 Channel 3 Polarity 19 1 RAMP Ramp Mode 4 2 RAMPSelect RAMP1 RAMP1 operation 0x0 RAMP2A Alternative RAMP2 operation 0x1 RAMP2 RAMP2 operation 0x2 RAMP2C Critical RAMP2 operation 0x3 SWAP0 Swap DTI Output Pair 0 24 1 SWAP1 Swap DTI Output Pair 1 25 1 SWAP2 Swap DTI Output Pair 2 26 1 SWAP3 Swap DTI Output Pair 3 27 1 WAVEGEN Waveform Generation 0 3 WAVEGENSelect NFRQ Normal frequency 0x0 MFRQ Match frequency 0x1 NPWM Normal PWM 0x2 DSCRITICAL Dual-slope critical 0x4 DSBOTTOM Dual-slope with interrupt/event condition when COUNT reaches ZERO 0x5 DSBOTH Dual-slope with interrupt/event condition when COUNT reaches ZERO or TOP 0x6 DSTOP Dual-slope with interrupt/event condition when COUNT reaches TOP 0x7 WAVEB Waveform Control Buffer 0x68 32 read-write n 0x0 0x0 CICCENB0 Circular Channel 0 Enable Buffer 8 1 CICCENB1 Circular Channel 1 Enable Buffer 9 1 CICCENB2 Circular Channel 2 Enable Buffer 10 1 CICCENB3 Circular Channel 3 Enable Buffer 11 1 CIPERENB Circular Period Enable Buffer 7 1 POLB0 Channel 0 Polarity Buffer 16 1 POLB1 Channel 1 Polarity Buffer 17 1 POLB2 Channel 2 Polarity Buffer 18 1 POLB3 Channel 3 Polarity Buffer 19 1 RAMPB Ramp Mode Buffer 4 2 RAMPBSelect RAMP1 RAMP1 operation 0x0 RAMP2A Alternative RAMP2 operation 0x1 RAMP2 RAMP2 operation 0x2 RAMP2C Critical RAMP2 operation 0x3 SWAPB0 Swap DTI Output Pair 0 Buffer 24 1 SWAPB1 Swap DTI Output Pair 1 Buffer 25 1 SWAPB2 Swap DTI Output Pair 2 Buffer 26 1 SWAPB3 Swap DTI Output Pair 3 Buffer 27 1 WAVEGENB Waveform Generation Buffer 0 3 WAVEGENBSelect NFRQ Normal frequency 0x0 MFRQ Match frequency 0x1 NPWM Normal PWM 0x2 DSCRITICAL Dual-slope critical 0x4 DSBOTTOM Dual-slope with interrupt/event condition when COUNT reaches ZERO 0x5 DSBOTH Dual-slope with interrupt/event condition when COUNT reaches ZERO or TOP 0x6 DSTOP Dual-slope with interrupt/event condition when COUNT reaches TOP 0x7 WEXCTRL Waveform Extension Configuration 0x14 32 read-write n 0x0 0x0 DTHS Dead-time High Side Outputs Value 24 8 DTIEN0 Dead-time Insertion Generator 0 Enable 8 1 DTIEN1 Dead-time Insertion Generator 1 Enable 9 1 DTIEN2 Dead-time Insertion Generator 2 Enable 10 1 DTIEN3 Dead-time Insertion Generator 3 Enable 11 1 DTLS Dead-time Low Side Outputs Value 16 8 OTMX Output Matrix 0 2 TCC2 Timer Counter Control 2 TCC 0x0 0x0 0x80 registers n TCC2 17 TCC2_INTREQ 17 CC0 Compare and Capture 0x44 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 0 24 CC0_DITH4 Compare and Capture CC%s 0x44 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 4 20 DITHERCY Dithering Cycle Number 0 4 CC0_DITH5 Compare and Capture CC%s 0x44 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 5 19 DITHERCY Dithering Cycle Number 0 5 CC0_DITH6 Compare and Capture CC%s 0x44 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 6 18 DITHERCY Dithering Cycle Number 0 6 CC1 Compare and Capture 0x48 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 0 24 CC1_DITH4 Compare and Capture CC%s 0x48 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 4 20 DITHERCY Dithering Cycle Number 0 4 CC1_DITH5 Compare and Capture CC%s 0x48 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 5 19 DITHERCY Dithering Cycle Number 0 5 CC1_DITH6 Compare and Capture CC%s 0x48 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 6 18 DITHERCY Dithering Cycle Number 0 6 CC2 Compare and Capture 0x4C 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 0 24 CC2_DITH4 Compare and Capture CC%s 0x4C 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 4 20 DITHERCY Dithering Cycle Number 0 4 CC2_DITH5 Compare and Capture CC%s 0x4C 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 5 19 DITHERCY Dithering Cycle Number 0 5 CC2_DITH6 Compare and Capture CC%s 0x4C 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 6 18 DITHERCY Dithering Cycle Number 0 6 CC3 Compare and Capture 0x50 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 0 24 CC3_DITH4 Compare and Capture CC%s 0x50 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 4 20 DITHERCY Dithering Cycle Number 0 4 CC3_DITH5 Compare and Capture CC%s 0x50 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 5 19 DITHERCY Dithering Cycle Number 0 5 CC3_DITH6 Compare and Capture CC%s 0x50 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 6 18 DITHERCY Dithering Cycle Number 0 6 CCB0 Compare and Capture Buffer 0x70 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 0 24 CCB0_DITH4 Compare and Capture Buffer CCB%s 0x70 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 4 20 DITHERCYB Dithering Buffer Cycle Number 0 4 CCB0_DITH5 Compare and Capture Buffer CCB%s 0x70 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 5 19 DITHERCYB Dithering Buffer Cycle Number 0 5 CCB0_DITH6 Compare and Capture Buffer CCB%s 0x70 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 6 18 DITHERCYB Dithering Buffer Cycle Number 0 6 CCB1 Compare and Capture Buffer 0x74 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 0 24 CCB1_DITH4 Compare and Capture Buffer CCB%s 0x74 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 4 20 DITHERCYB Dithering Buffer Cycle Number 0 4 CCB1_DITH5 Compare and Capture Buffer CCB%s 0x74 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 5 19 DITHERCYB Dithering Buffer Cycle Number 0 5 CCB1_DITH6 Compare and Capture Buffer CCB%s 0x74 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 6 18 DITHERCYB Dithering Buffer Cycle Number 0 6 CCB2 Compare and Capture Buffer 0x78 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 0 24 CCB2_DITH4 Compare and Capture Buffer CCB%s 0x78 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 4 20 DITHERCYB Dithering Buffer Cycle Number 0 4 CCB2_DITH5 Compare and Capture Buffer CCB%s 0x78 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 5 19 DITHERCYB Dithering Buffer Cycle Number 0 5 CCB2_DITH6 Compare and Capture Buffer CCB%s 0x78 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 6 18 DITHERCYB Dithering Buffer Cycle Number 0 6 CCB3 Compare and Capture Buffer 0x7C 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 0 24 CCB3_DITH4 Compare and Capture Buffer CCB%s 0x7C 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 4 20 DITHERCYB Dithering Buffer Cycle Number 0 4 CCB3_DITH5 Compare and Capture Buffer CCB%s 0x7C 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 5 19 DITHERCYB Dithering Buffer Cycle Number 0 5 CCB3_DITH6 Compare and Capture Buffer CCB%s 0x7C 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 6 18 DITHERCYB Dithering Buffer Cycle Number 0 6 COUNT Count 0x34 32 read-write n 0x0 0x0 COUNT Counter Value 0 24 COUNT_DITH4 Count COUNT 0x34 32 read-write n 0x0 0x0 COUNT Counter Value 4 20 COUNT_DITH5 Count COUNT 0x34 32 read-write n 0x0 0x0 COUNT Counter Value 5 19 COUNT_DITH6 Count COUNT 0x34 32 read-write n 0x0 0x0 COUNT Counter Value 6 18 CTRLA Control A 0x0 32 read-write n 0x0 0x0 ALOCK Auto Lock 14 1 CPTEN0 Capture Channel 0 Enable 24 1 CPTEN1 Capture Channel 1 Enable 25 1 CPTEN2 Capture Channel 2 Enable 26 1 CPTEN3 Capture Channel 3 Enable 27 1 ENABLE Enable 1 1 PRESCALER Prescaler 8 3 PRESCALERSelect DIV1 No division 0x0 DIV2 Divide by 2 0x1 DIV4 Divide by 4 0x2 DIV8 Divide by 8 0x3 DIV16 Divide by 16 0x4 DIV64 Divide by 64 0x5 DIV256 Divide by 256 0x6 DIV1024 Divide by 1024 0x7 PRESCSYNC Prescaler and Counter Synchronization Selection 12 2 PRESCSYNCSelect GCLK Reload or reset counter on next GCLK 0x0 PRESC Reload or reset counter on next prescaler clock 0x1 RESYNC Reload or reset counter on next GCLK and reset prescaler counter 0x2 RESOLUTION Enhanced Resolution 5 2 RESOLUTIONSelect NONE Dithering is disabled 0x0 DITH4 Dithering is done every 16 PWM frames 0x1 DITH5 Dithering is done every 32 PWM frames 0x2 DITH6 Dithering is done every 64 PWM frames 0x3 RUNSTDBY Run in Standby 11 1 SWRST Software Reset 0 1 CTRLBCLR Control B Clear 0x4 8 read-write n 0x0 0x0 CMD TCC Command 5 3 CMDSelect NONE No action 0x0 RETRIGGER Clear start, restart or retrigger 0x1 STOP Force stop 0x2 UPDATE Force update of double buffered registers 0x3 READSYNC Force COUNT read synchronization 0x4 DIR Counter Direction 0 1 IDXCMD Ramp Index Command 3 2 IDXCMDSelect DISABLE Command disabled: Index toggles between cycles A and B 0x0 SET Set index: cycle B will be forced in the next cycle 0x1 CLEAR Clear index: cycle A will be forced in the next cycle 0x2 HOLD Hold index: the next cycle will be the same as the current cycle 0x3 LUPD Lock Update 1 1 ONESHOT One-Shot 2 1 CTRLBSET Control B Set 0x5 8 read-write n 0x0 0x0 CMD TCC Command 5 3 CMDSelect NONE No action 0x0 RETRIGGER Clear start, restart or retrigger 0x1 STOP Force stop 0x2 UPDATE Force update of double buffered registers 0x3 READSYNC Force COUNT read synchronization 0x4 DIR Counter Direction 0 1 IDXCMD Ramp Index Command 3 2 IDXCMDSelect DISABLE Command disabled: Index toggles between cycles A and B 0x0 SET Set index: cycle B will be forced in the next cycle 0x1 CLEAR Clear index: cycle A will be forced in the next cycle 0x2 HOLD Hold index: the next cycle will be the same as the current cycle 0x3 LUPD Lock Update 1 1 ONESHOT One-Shot 2 1 DBGCTRL Debug Control 0x1E 8 read-write n 0x0 0x0 DBGRUN Debug Running Mode 0 1 FDDBD Fault Detection on Debug Break Detection 2 1 DRVCTRL Driver Control 0x18 32 read-write n 0x0 0x0 FILTERVAL0 Non-Recoverable Fault Input 0 Filter Value 24 4 FILTERVAL1 Non-Recoverable Fault Input 1 Filter Value 28 4 INVEN0 Output Waveform 0 Inversion 16 1 INVEN1 Output Waveform 1 Inversion 17 1 INVEN2 Output Waveform 2 Inversion 18 1 INVEN3 Output Waveform 3 Inversion 19 1 INVEN4 Output Waveform 4 Inversion 20 1 INVEN5 Output Waveform 5 Inversion 21 1 INVEN6 Output Waveform 6 Inversion 22 1 INVEN7 Output Waveform 7 Inversion 23 1 NRE0 Non-Recoverable State 0 Output Enable 0 1 NRE1 Non-Recoverable State 1 Output Enable 1 1 NRE2 Non-Recoverable State 2 Output Enable 2 1 NRE3 Non-Recoverable State 3 Output Enable 3 1 NRE4 Non-Recoverable State 4 Output Enable 4 1 NRE5 Non-Recoverable State 5 Output Enable 5 1 NRE6 Non-Recoverable State 6 Output Enable 6 1 NRE7 Non-Recoverable State 7 Output Enable 7 1 NRV0 Non-Recoverable State 0 Output Value 8 1 NRV1 Non-Recoverable State 1 Output Value 9 1 NRV2 Non-Recoverable State 2 Output Value 10 1 NRV3 Non-Recoverable State 3 Output Value 11 1 NRV4 Non-Recoverable State 4 Output Value 12 1 NRV5 Non-Recoverable State 5 Output Value 13 1 NRV6 Non-Recoverable State 6 Output Value 14 1 NRV7 Non-Recoverable State 7 Output Value 15 1 EVCTRL Event Control 0x20 32 read-write n 0x0 0x0 CNTEO Timer/counter Output Event Enable 10 1 CNTSEL Timer/counter Output Event Mode 6 2 CNTSELSelect START An interrupt/event is generated when a new counter cycle starts 0x0 END An interrupt/event is generated when a counter cycle ends 0x1 BETWEEN An interrupt/event is generated when a counter cycle ends, except for the first and last cycles 0x2 BOUNDARY An interrupt/event is generated when a new counter cycle starts or a counter cycle ends 0x3 EVACT0 Timer/counter Input Event0 Action 0 3 EVACT0Select OFF Event action disabled 0x0 RETRIGGER Start, restart or re-trigger counter on event 0x1 COUNTEV Count on event 0x2 START Start counter on event 0x3 INC Increment counter on event 0x4 COUNT Count on active state of asynchronous event 0x5 STAMP Stamp capture 0x6 FAULT Non-recoverable fault 0x7 EVACT1 Timer/counter Input Event1 Action 3 3 EVACT1Select OFF Event action disabled 0x0 RETRIGGER Re-trigger counter on event 0x1 DIR Direction control 0x2 STOP Stop counter on event 0x3 DEC Decrement counter on event 0x4 PPW Period capture value in CC0 register, pulse width capture value in CC1 register 0x5 PWP Period capture value in CC1 register, pulse width capture value in CC0 register 0x6 FAULT Non-recoverable fault 0x7 MCEI0 Match or Capture Channel 0 Event Input Enable 16 1 MCEI1 Match or Capture Channel 1 Event Input Enable 17 1 MCEI2 Match or Capture Channel 2 Event Input Enable 18 1 MCEI3 Match or Capture Channel 3 Event Input Enable 19 1 MCEO0 Match or Capture Channel 0 Event Output Enable 24 1 MCEO1 Match or Capture Channel 1 Event Output Enable 25 1 MCEO2 Match or Capture Channel 2 Event Output Enable 26 1 MCEO3 Match or Capture Channel 3 Event Output Enable 27 1 OVFEO Overflow/Underflow Output Event Enable 8 1 TCEI0 Timer/counter Event 0 Input Enable 14 1 TCEI1 Timer/counter Event 1 Input Enable 15 1 TCINV0 Inverted Event 0 Input Enable 12 1 TCINV1 Inverted Event 1 Input Enable 13 1 TRGEO Retrigger Output Event Enable 9 1 FCTRLA Recoverable Fault A Configuration 0xC 32 read-write n 0x0 0x0 BLANK Fault A Blanking Mode 5 2 BLANKSelect START Blanking applied from start of ramp 0x0 RISE Blanking applied from rising edge of the output waveform 0x1 FALL Blanking applied from falling edge of the output waveform 0x2 BOTH Blanking applied from each toggle of the output waveform 0x3 BLANKPRESC Fault A Blanking Prescaler 15 1 BLANKVAL Fault A Blanking Time 16 8 CAPTURE Fault A Capture Action 12 3 CAPTURESelect DISABLE No capture 0x0 CAPT Capture on fault 0x1 CAPTMIN Minimum capture 0x2 CAPTMAX Maximum capture 0x3 LOCMIN Minimum local detection 0x4 LOCMAX Maximum local detection 0x5 DERIV0 Minimum and maximum local detection 0x6 CAPTMARK Capture with ramp index as MSB value 0x7 CHSEL Fault A Capture Channel 10 2 CHSELSelect CC0 Capture value stored in channel 0 0x0 CC1 Capture value stored in channel 1 0x1 CC2 Capture value stored in channel 2 0x2 CC3 Capture value stored in channel 3 0x3 FILTERVAL Fault A Filter Value 24 4 HALT Fault A Halt Mode 8 2 HALTSelect DISABLE Halt action disabled 0x0 HW Hardware halt action 0x1 SW Software halt action 0x2 NR Non-recoverable fault 0x3 KEEP Fault A Keeper 3 1 QUAL Fault A Qualification 4 1 RESTART Fault A Restart 7 1 SRC Fault A Source 0 2 SRCSelect DISABLE Fault input disabled 0x0 ENABLE MCEx (x=0,1) event input 0x1 INVERT Inverted MCEx (x=0,1) event input 0x2 ALTFAULT Alternate fault (A or B) state at the end of the previous period 0x3 FCTRLB Recoverable Fault B Configuration 0x10 32 read-write n 0x0 0x0 BLANK Fault B Blanking Mode 5 2 BLANKSelect START Blanking applied from start of ramp 0x0 RISE Blanking applied from rising edge of the output waveform 0x1 FALL Blanking applied from falling edge of the output waveform 0x2 BOTH Blanking applied from each toggle of the output waveform 0x3 BLANKPRESC Fault B Blanking Prescaler 15 1 BLANKVAL Fault B Blanking Time 16 8 CAPTURE Fault B Capture Action 12 3 CAPTURESelect DISABLE No capture 0x0 CAPT Capture on fault 0x1 CAPTMIN Minimum capture 0x2 CAPTMAX Maximum capture 0x3 LOCMIN Minimum local detection 0x4 LOCMAX Maximum local detection 0x5 DERIV0 Minimum and maximum local detection 0x6 CAPTMARK Capture with ramp index as MSB value 0x7 CHSEL Fault B Capture Channel 10 2 CHSELSelect CC0 Capture value stored in channel 0 0x0 CC1 Capture value stored in channel 1 0x1 CC2 Capture value stored in channel 2 0x2 CC3 Capture value stored in channel 3 0x3 FILTERVAL Fault B Filter Value 24 4 HALT Fault B Halt Mode 8 2 HALTSelect DISABLE Halt action disabled 0x0 HW Hardware halt action 0x1 SW Software halt action 0x2 NR Non-recoverable fault 0x3 KEEP Fault B Keeper 3 1 QUAL Fault B Qualification 4 1 RESTART Fault B Restart 7 1 SRC Fault B Source 0 2 SRCSelect DISABLE Fault input disabled 0x0 ENABLE MCEx (x=0,1) event input 0x1 INVERT Inverted MCEx (x=0,1) event input 0x2 ALTFAULT Alternate fault (A or B) state at the end of the previous period 0x3 INTENCLR Interrupt Enable Clear 0x24 32 read-write n 0x0 0x0 CNT Counter Interrupt Enable 2 1 DFS Non-Recoverable Debug Fault Interrupt Enable 11 1 ERR Error Interrupt Enable 3 1 FAULT0 Non-Recoverable Fault 0 Interrupt Enable 14 1 FAULT1 Non-Recoverable Fault 1 Interrupt Enable 15 1 FAULTA Recoverable Fault A Interrupt Enable 12 1 FAULTB Recoverable Fault B Interrupt Enable 13 1 MC0 Match or Capture Channel 0 Interrupt Enable 16 1 MC1 Match or Capture Channel 1 Interrupt Enable 17 1 MC2 Match or Capture Channel 2 Interrupt Enable 18 1 MC3 Match or Capture Channel 3 Interrupt Enable 19 1 OVF Overflow Interrupt Enable 0 1 TRG Retrigger Interrupt Enable 1 1 UFS Non-Recoverable Update Fault Interrupt Enable 10 1 INTENSET Interrupt Enable Set 0x28 32 read-write n 0x0 0x0 CNT Counter Interrupt Enable 2 1 DFS Non-Recoverable Debug Fault Interrupt Enable 11 1 ERR Error Interrupt Enable 3 1 FAULT0 Non-Recoverable Fault 0 Interrupt Enable 14 1 FAULT1 Non-Recoverable Fault 1 Interrupt Enable 15 1 FAULTA Recoverable Fault A Interrupt Enable 12 1 FAULTB Recoverable Fault B Interrupt Enable 13 1 MC0 Match or Capture Channel 0 Interrupt Enable 16 1 MC1 Match or Capture Channel 1 Interrupt Enable 17 1 MC2 Match or Capture Channel 2 Interrupt Enable 18 1 MC3 Match or Capture Channel 3 Interrupt Enable 19 1 OVF Overflow Interrupt Enable 0 1 TRG Retrigger Interrupt Enable 1 1 UFS Non-Recoverable Update Fault Interrupt Enable 10 1 INTFLAG Interrupt Flag Status and Clear 0x2C 32 read-write n 0x0 0x0 CNT Counter 2 1 DFS Non-Recoverable Debug Fault 11 1 ERR Error 3 1 FAULT0 Non-Recoverable Fault 0 14 1 FAULT1 Non-Recoverable Fault 1 15 1 FAULTA Recoverable Fault A 12 1 FAULTB Recoverable Fault B 13 1 MC0 Match or Capture 0 16 1 MC1 Match or Capture 1 17 1 MC2 Match or Capture 2 18 1 MC3 Match or Capture 3 19 1 OVF Overflow 0 1 TRG Retrigger 1 1 UFS Non-Recoverable Update Fault 10 1 PATT Pattern 0x38 16 read-write n 0x0 0x0 PGE0 Pattern Generator 0 Output Enable 0 1 PGE1 Pattern Generator 1 Output Enable 1 1 PGE2 Pattern Generator 2 Output Enable 2 1 PGE3 Pattern Generator 3 Output Enable 3 1 PGE4 Pattern Generator 4 Output Enable 4 1 PGE5 Pattern Generator 5 Output Enable 5 1 PGE6 Pattern Generator 6 Output Enable 6 1 PGE7 Pattern Generator 7 Output Enable 7 1 PGV0 Pattern Generator 0 Output Value 8 1 PGV1 Pattern Generator 1 Output Value 9 1 PGV2 Pattern Generator 2 Output Value 10 1 PGV3 Pattern Generator 3 Output Value 11 1 PGV4 Pattern Generator 4 Output Value 12 1 PGV5 Pattern Generator 5 Output Value 13 1 PGV6 Pattern Generator 6 Output Value 14 1 PGV7 Pattern Generator 7 Output Value 15 1 PATTB Pattern Buffer 0x64 16 read-write n 0x0 0x0 PGEB0 Pattern Generator 0 Output Enable Buffer 0 1 PGEB1 Pattern Generator 1 Output Enable Buffer 1 1 PGEB2 Pattern Generator 2 Output Enable Buffer 2 1 PGEB3 Pattern Generator 3 Output Enable Buffer 3 1 PGEB4 Pattern Generator 4 Output Enable Buffer 4 1 PGEB5 Pattern Generator 5 Output Enable Buffer 5 1 PGEB6 Pattern Generator 6 Output Enable Buffer 6 1 PGEB7 Pattern Generator 7 Output Enable Buffer 7 1 PGVB0 Pattern Generator 0 Output Enable 8 1 PGVB1 Pattern Generator 1 Output Enable 9 1 PGVB2 Pattern Generator 2 Output Enable 10 1 PGVB3 Pattern Generator 3 Output Enable 11 1 PGVB4 Pattern Generator 4 Output Enable 12 1 PGVB5 Pattern Generator 5 Output Enable 13 1 PGVB6 Pattern Generator 6 Output Enable 14 1 PGVB7 Pattern Generator 7 Output Enable 15 1 PER Period 0x40 32 read-write n 0x0 0x0 PER Period Value 0 24 PERB Period Buffer 0x6C 32 read-write n 0x0 0x0 PERB Period Buffer Value 0 24 PERB_DITH4 Period Buffer PERB 0x6C 32 read-write n 0x0 0x0 DITHERCYB Dithering Buffer Cycle Number 0 4 PERB Period Buffer Value 4 20 PERB_DITH5 Period Buffer PERB 0x6C 32 read-write n 0x0 0x0 DITHERCYB Dithering Buffer Cycle Number 0 5 PERB Period Buffer Value 5 19 PERB_DITH6 Period Buffer PERB 0x6C 32 read-write n 0x0 0x0 DITHERCYB Dithering Buffer Cycle Number 0 6 PERB Period Buffer Value 6 18 PER_DITH4 Period PER 0x40 32 read-write n 0x0 0x0 DITHERCY Dithering Cycle Number 0 4 PER Period Value 4 20 PER_DITH5 Period PER 0x40 32 read-write n 0x0 0x0 DITHERCY Dithering Cycle Number 0 5 PER Period Value 5 19 PER_DITH6 Period PER 0x40 32 read-write n 0x0 0x0 DITHERCY Dithering Cycle Number 0 6 PER Period Value 6 18 STATUS Status 0x30 32 read-write n 0x0 0x0 CCBV0 Compare Channel 0 Buffer Valid 16 1 CCBV1 Compare Channel 1 Buffer Valid 17 1 CCBV2 Compare Channel 2 Buffer Valid 18 1 CCBV3 Compare Channel 3 Buffer Valid 19 1 CMP0 Compare Channel 0 Value 24 1 read-only CMP1 Compare Channel 1 Value 25 1 read-only CMP2 Compare Channel 2 Value 26 1 read-only CMP3 Compare Channel 3 Value 27 1 read-only DFS Non-Recoverable Debug Fault State 3 1 FAULT0 Non-Recoverable Fault 0 State 14 1 FAULT0IN Non-Recoverable Fault0 Input 10 1 read-only FAULT1 Non-Recoverable Fault 1 State 15 1 FAULT1IN Non-Recoverable Fault1 Input 11 1 read-only FAULTA Recoverable Fault A State 12 1 FAULTAIN Recoverable Fault A Input 8 1 read-only FAULTB Recoverable Fault B State 13 1 FAULTBIN Recoverable Fault B Input 9 1 read-only IDX Ramp 1 1 read-only PATTBV Pattern Buffer Valid 5 1 PERBV Period Buffer Valid 7 1 SLAVE Slave 4 1 read-only STOP Stop 0 1 read-only UFS Non-Recoverable Update Fault State 2 1 WAVEBV Wave Buffer Valid 6 1 SYNCBUSY Synchronization Busy 0x8 32 read-only n 0x0 0x0 CC0 Compare Channel 0 Busy 8 1 CC1 Compare Channel 1 Busy 9 1 CC2 Compare Channel 2 Busy 10 1 CC3 Compare Channel 3 Busy 11 1 CCB0 Compare Channel Buffer 0 Busy 19 1 CCB1 Compare Channel Buffer 1 Busy 20 1 CCB2 Compare Channel Buffer 2 Busy 21 1 CCB3 Compare Channel Buffer 3 Busy 22 1 COUNT Count Busy 4 1 CTRLB Ctrlb Busy 2 1 ENABLE Enable Busy 1 1 PATT Pattern Busy 5 1 PATTB Pattern Buffer Busy 16 1 PER Period busy 7 1 PERB Period Buffer Busy 18 1 STATUS Status Busy 3 1 SWRST Swrst Busy 0 1 WAVE Wave Busy 6 1 WAVEB Wave Buffer Busy 17 1 TCC_CC0 Compare and Capture 0x88 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 0 24 TCC_CC0_DITH4 Compare and Capture CC%s 0x88 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 4 20 DITHERCY Dithering Cycle Number 0 4 TCC_CC0_DITH5 Compare and Capture CC%s 0x88 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 5 19 DITHERCY Dithering Cycle Number 0 5 TCC_CC0_DITH6 Compare and Capture CC%s 0x88 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 6 18 DITHERCY Dithering Cycle Number 0 6 TCC_CC1 Compare and Capture 0xD0 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 0 24 TCC_CC1_DITH4 Compare and Capture CC%s 0xD0 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 4 20 DITHERCY Dithering Cycle Number 0 4 TCC_CC1_DITH5 Compare and Capture CC%s 0xD0 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 5 19 DITHERCY Dithering Cycle Number 0 5 TCC_CC1_DITH6 Compare and Capture CC%s 0xD0 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 6 18 DITHERCY Dithering Cycle Number 0 6 TCC_CC2 Compare and Capture 0x11C 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 0 24 TCC_CC2_DITH4 Compare and Capture CC%s 0x11C 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 4 20 DITHERCY Dithering Cycle Number 0 4 TCC_CC2_DITH5 Compare and Capture CC%s 0x11C 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 5 19 DITHERCY Dithering Cycle Number 0 5 TCC_CC2_DITH6 Compare and Capture CC%s 0x11C 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 6 18 DITHERCY Dithering Cycle Number 0 6 TCC_CC3 Compare and Capture 0x16C 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 0 24 TCC_CC3_DITH4 Compare and Capture CC%s 0x16C 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 4 20 DITHERCY Dithering Cycle Number 0 4 TCC_CC3_DITH5 Compare and Capture CC%s 0x16C 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 5 19 DITHERCY Dithering Cycle Number 0 5 TCC_CC3_DITH6 Compare and Capture CC%s 0x16C 32 read-write n 0x0 0x0 CC Channel Compare/Capture Value 6 18 DITHERCY Dithering Cycle Number 0 6 TCC_CCB0 Compare and Capture Buffer 0xE0 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 0 24 TCC_CCB0_DITH4 Compare and Capture Buffer CCB%s 0xE0 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 4 20 DITHERCYB Dithering Buffer Cycle Number 0 4 TCC_CCB0_DITH5 Compare and Capture Buffer CCB%s 0xE0 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 5 19 DITHERCYB Dithering Buffer Cycle Number 0 5 TCC_CCB0_DITH6 Compare and Capture Buffer CCB%s 0xE0 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 6 18 DITHERCYB Dithering Buffer Cycle Number 0 6 TCC_CCB1 Compare and Capture Buffer 0x154 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 0 24 TCC_CCB1_DITH4 Compare and Capture Buffer CCB%s 0x154 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 4 20 DITHERCYB Dithering Buffer Cycle Number 0 4 TCC_CCB1_DITH5 Compare and Capture Buffer CCB%s 0x154 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 5 19 DITHERCYB Dithering Buffer Cycle Number 0 5 TCC_CCB1_DITH6 Compare and Capture Buffer CCB%s 0x154 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 6 18 DITHERCYB Dithering Buffer Cycle Number 0 6 TCC_CCB2 Compare and Capture Buffer 0x1CC 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 0 24 TCC_CCB2_DITH4 Compare and Capture Buffer CCB%s 0x1CC 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 4 20 DITHERCYB Dithering Buffer Cycle Number 0 4 TCC_CCB2_DITH5 Compare and Capture Buffer CCB%s 0x1CC 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 5 19 DITHERCYB Dithering Buffer Cycle Number 0 5 TCC_CCB2_DITH6 Compare and Capture Buffer CCB%s 0x1CC 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 6 18 DITHERCYB Dithering Buffer Cycle Number 0 6 TCC_CCB3 Compare and Capture Buffer 0x248 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 0 24 TCC_CCB3_DITH4 Compare and Capture Buffer CCB%s 0x248 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 4 20 DITHERCYB Dithering Buffer Cycle Number 0 4 TCC_CCB3_DITH5 Compare and Capture Buffer CCB%s 0x248 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 5 19 DITHERCYB Dithering Buffer Cycle Number 0 5 TCC_CCB3_DITH6 Compare and Capture Buffer CCB%s 0x248 32 read-write n 0x0 0x0 CCB Channel Compare/Capture Buffer Value 6 18 DITHERCYB Dithering Buffer Cycle Number 0 6 TCC_COUNT Count 0x34 32 read-write n 0x0 0x0 COUNT Counter Value 0 24 TCC_COUNT_DITH4 Count COUNT 0x34 32 read-write n 0x0 0x0 COUNT Counter Value 4 20 TCC_COUNT_DITH5 Count COUNT 0x34 32 read-write n 0x0 0x0 COUNT Counter Value 5 19 TCC_COUNT_DITH6 Count COUNT 0x34 32 read-write n 0x0 0x0 COUNT Counter Value 6 18 TCC_CTRLA Control A 0x0 32 read-write n 0x0 0x0 ALOCK Auto Lock 14 1 CPTEN0 Capture Channel 0 Enable 24 1 CPTEN1 Capture Channel 1 Enable 25 1 CPTEN2 Capture Channel 2 Enable 26 1 CPTEN3 Capture Channel 3 Enable 27 1 ENABLE Enable 1 1 PRESCALER Prescaler 8 3 PRESCALERSelect DIV1 No division 0x0 DIV2 Divide by 2 0x1 DIV4 Divide by 4 0x2 DIV8 Divide by 8 0x3 DIV16 Divide by 16 0x4 DIV64 Divide by 64 0x5 DIV256 Divide by 256 0x6 DIV1024 Divide by 1024 0x7 PRESCSYNC Prescaler and Counter Synchronization Selection 12 2 PRESCSYNCSelect GCLK Reload or reset counter on next GCLK 0x0 PRESC Reload or reset counter on next prescaler clock 0x1 RESYNC Reload or reset counter on next GCLK and reset prescaler counter 0x2 RESOLUTION Enhanced Resolution 5 2 RESOLUTIONSelect NONE Dithering is disabled 0x0 DITH4 Dithering is done every 16 PWM frames 0x1 DITH5 Dithering is done every 32 PWM frames 0x2 DITH6 Dithering is done every 64 PWM frames 0x3 RUNSTDBY Run in Standby 11 1 SWRST Software Reset 0 1 TCC_CTRLBCLR Control B Clear 0x4 8 read-write n 0x0 0x0 CMD TCC Command 5 3 CMDSelect NONE No action 0x0 RETRIGGER Clear start, restart or retrigger 0x1 STOP Force stop 0x2 UPDATE Force update of double buffered registers 0x3 READSYNC Force COUNT read synchronization 0x4 DIR Counter Direction 0 1 IDXCMD Ramp Index Command 3 2 IDXCMDSelect DISABLE Command disabled: Index toggles between cycles A and B 0x0 SET Set index: cycle B will be forced in the next cycle 0x1 CLEAR Clear index: cycle A will be forced in the next cycle 0x2 HOLD Hold index: the next cycle will be the same as the current cycle 0x3 LUPD Lock Update 1 1 ONESHOT One-Shot 2 1 TCC_CTRLBSET Control B Set 0x5 8 read-write n 0x0 0x0 CMD TCC Command 5 3 CMDSelect NONE No action 0x0 RETRIGGER Clear start, restart or retrigger 0x1 STOP Force stop 0x2 UPDATE Force update of double buffered registers 0x3 READSYNC Force COUNT read synchronization 0x4 DIR Counter Direction 0 1 IDXCMD Ramp Index Command 3 2 IDXCMDSelect DISABLE Command disabled: Index toggles between cycles A and B 0x0 SET Set index: cycle B will be forced in the next cycle 0x1 CLEAR Clear index: cycle A will be forced in the next cycle 0x2 HOLD Hold index: the next cycle will be the same as the current cycle 0x3 LUPD Lock Update 1 1 ONESHOT One-Shot 2 1 TCC_DBGCTRL Debug Control 0x1E 8 read-write n 0x0 0x0 DBGRUN Debug Running Mode 0 1 FDDBD Fault Detection on Debug Break Detection 2 1 TCC_DRVCTRL Driver Control 0x18 32 read-write n 0x0 0x0 FILTERVAL0 Non-Recoverable Fault Input 0 Filter Value 24 4 FILTERVAL1 Non-Recoverable Fault Input 1 Filter Value 28 4 INVEN0 Output Waveform 0 Inversion 16 1 INVEN1 Output Waveform 1 Inversion 17 1 INVEN2 Output Waveform 2 Inversion 18 1 INVEN3 Output Waveform 3 Inversion 19 1 INVEN4 Output Waveform 4 Inversion 20 1 INVEN5 Output Waveform 5 Inversion 21 1 INVEN6 Output Waveform 6 Inversion 22 1 INVEN7 Output Waveform 7 Inversion 23 1 NRE0 Non-Recoverable State 0 Output Enable 0 1 NRE1 Non-Recoverable State 1 Output Enable 1 1 NRE2 Non-Recoverable State 2 Output Enable 2 1 NRE3 Non-Recoverable State 3 Output Enable 3 1 NRE4 Non-Recoverable State 4 Output Enable 4 1 NRE5 Non-Recoverable State 5 Output Enable 5 1 NRE6 Non-Recoverable State 6 Output Enable 6 1 NRE7 Non-Recoverable State 7 Output Enable 7 1 NRV0 Non-Recoverable State 0 Output Value 8 1 NRV1 Non-Recoverable State 1 Output Value 9 1 NRV2 Non-Recoverable State 2 Output Value 10 1 NRV3 Non-Recoverable State 3 Output Value 11 1 NRV4 Non-Recoverable State 4 Output Value 12 1 NRV5 Non-Recoverable State 5 Output Value 13 1 NRV6 Non-Recoverable State 6 Output Value 14 1 NRV7 Non-Recoverable State 7 Output Value 15 1 TCC_EVCTRL Event Control 0x20 32 read-write n 0x0 0x0 CNTEO Timer/counter Output Event Enable 10 1 CNTSEL Timer/counter Output Event Mode 6 2 CNTSELSelect START An interrupt/event is generated when a new counter cycle starts 0x0 END An interrupt/event is generated when a counter cycle ends 0x1 BETWEEN An interrupt/event is generated when a counter cycle ends, except for the first and last cycles 0x2 BOUNDARY An interrupt/event is generated when a new counter cycle starts or a counter cycle ends 0x3 EVACT0 Timer/counter Input Event0 Action 0 3 EVACT0Select OFF Event action disabled 0x0 RETRIGGER Start, restart or re-trigger counter on event 0x1 COUNTEV Count on event 0x2 START Start counter on event 0x3 INC Increment counter on event 0x4 COUNT Count on active state of asynchronous event 0x5 STAMP Stamp capture 0x6 FAULT Non-recoverable fault 0x7 EVACT1 Timer/counter Input Event1 Action 3 3 EVACT1Select OFF Event action disabled 0x0 RETRIGGER Re-trigger counter on event 0x1 DIR Direction control 0x2 STOP Stop counter on event 0x3 DEC Decrement counter on event 0x4 PPW Period capture value in CC0 register, pulse width capture value in CC1 register 0x5 PWP Period capture value in CC1 register, pulse width capture value in CC0 register 0x6 FAULT Non-recoverable fault 0x7 MCEI0 Match or Capture Channel 0 Event Input Enable 16 1 MCEI1 Match or Capture Channel 1 Event Input Enable 17 1 MCEI2 Match or Capture Channel 2 Event Input Enable 18 1 MCEI3 Match or Capture Channel 3 Event Input Enable 19 1 MCEO0 Match or Capture Channel 0 Event Output Enable 24 1 MCEO1 Match or Capture Channel 1 Event Output Enable 25 1 MCEO2 Match or Capture Channel 2 Event Output Enable 26 1 MCEO3 Match or Capture Channel 3 Event Output Enable 27 1 OVFEO Overflow/Underflow Output Event Enable 8 1 TCEI0 Timer/counter Event 0 Input Enable 14 1 TCEI1 Timer/counter Event 1 Input Enable 15 1 TCINV0 Inverted Event 0 Input Enable 12 1 TCINV1 Inverted Event 1 Input Enable 13 1 TRGEO Retrigger Output Event Enable 9 1 TCC_FCTRLA Recoverable Fault A Configuration 0xC 32 read-write n 0x0 0x0 BLANK Fault A Blanking Mode 5 2 BLANKSelect START Blanking applied from start of ramp 0x0 RISE Blanking applied from rising edge of the output waveform 0x1 FALL Blanking applied from falling edge of the output waveform 0x2 BOTH Blanking applied from each toggle of the output waveform 0x3 BLANKPRESC Fault A Blanking Prescaler 15 1 BLANKVAL Fault A Blanking Time 16 8 CAPTURE Fault A Capture Action 12 3 CAPTURESelect DISABLE No capture 0x0 CAPT Capture on fault 0x1 CAPTMIN Minimum capture 0x2 CAPTMAX Maximum capture 0x3 LOCMIN Minimum local detection 0x4 LOCMAX Maximum local detection 0x5 DERIV0 Minimum and maximum local detection 0x6 CAPTMARK Capture with ramp index as MSB value 0x7 CHSEL Fault A Capture Channel 10 2 CHSELSelect CC0 Capture value stored in channel 0 0x0 CC1 Capture value stored in channel 1 0x1 CC2 Capture value stored in channel 2 0x2 CC3 Capture value stored in channel 3 0x3 FILTERVAL Fault A Filter Value 24 4 HALT Fault A Halt Mode 8 2 HALTSelect DISABLE Halt action disabled 0x0 HW Hardware halt action 0x1 SW Software halt action 0x2 NR Non-recoverable fault 0x3 KEEP Fault A Keeper 3 1 QUAL Fault A Qualification 4 1 RESTART Fault A Restart 7 1 SRC Fault A Source 0 2 SRCSelect DISABLE Fault input disabled 0x0 ENABLE MCEx (x=0,1) event input 0x1 INVERT Inverted MCEx (x=0,1) event input 0x2 ALTFAULT Alternate fault (A or B) state at the end of the previous period 0x3 TCC_FCTRLB Recoverable Fault B Configuration 0x10 32 read-write n 0x0 0x0 BLANK Fault B Blanking Mode 5 2 BLANKSelect START Blanking applied from start of ramp 0x0 RISE Blanking applied from rising edge of the output waveform 0x1 FALL Blanking applied from falling edge of the output waveform 0x2 BOTH Blanking applied from each toggle of the output waveform 0x3 BLANKPRESC Fault B Blanking Prescaler 15 1 BLANKVAL Fault B Blanking Time 16 8 CAPTURE Fault B Capture Action 12 3 CAPTURESelect DISABLE No capture 0x0 CAPT Capture on fault 0x1 CAPTMIN Minimum capture 0x2 CAPTMAX Maximum capture 0x3 LOCMIN Minimum local detection 0x4 LOCMAX Maximum local detection 0x5 DERIV0 Minimum and maximum local detection 0x6 CAPTMARK Capture with ramp index as MSB value 0x7 CHSEL Fault B Capture Channel 10 2 CHSELSelect CC0 Capture value stored in channel 0 0x0 CC1 Capture value stored in channel 1 0x1 CC2 Capture value stored in channel 2 0x2 CC3 Capture value stored in channel 3 0x3 FILTERVAL Fault B Filter Value 24 4 HALT Fault B Halt Mode 8 2 HALTSelect DISABLE Halt action disabled 0x0 HW Hardware halt action 0x1 SW Software halt action 0x2 NR Non-recoverable fault 0x3 KEEP Fault B Keeper 3 1 QUAL Fault B Qualification 4 1 RESTART Fault B Restart 7 1 SRC Fault B Source 0 2 SRCSelect DISABLE Fault input disabled 0x0 ENABLE MCEx (x=0,1) event input 0x1 INVERT Inverted MCEx (x=0,1) event input 0x2 ALTFAULT Alternate fault (A or B) state at the end of the previous period 0x3 TCC_INTENCLR Interrupt Enable Clear 0x24 32 read-write n 0x0 0x0 CNT Counter Interrupt Enable 2 1 DFS Non-Recoverable Debug Fault Interrupt Enable 11 1 ERR Error Interrupt Enable 3 1 FAULT0 Non-Recoverable Fault 0 Interrupt Enable 14 1 FAULT1 Non-Recoverable Fault 1 Interrupt Enable 15 1 FAULTA Recoverable Fault A Interrupt Enable 12 1 FAULTB Recoverable Fault B Interrupt Enable 13 1 MC0 Match or Capture Channel 0 Interrupt Enable 16 1 MC1 Match or Capture Channel 1 Interrupt Enable 17 1 MC2 Match or Capture Channel 2 Interrupt Enable 18 1 MC3 Match or Capture Channel 3 Interrupt Enable 19 1 OVF Overflow Interrupt Enable 0 1 TRG Retrigger Interrupt Enable 1 1 UFS Non-Recoverable Update Fault Interrupt Enable 10 1 TCC_INTENSET Interrupt Enable Set 0x28 32 read-write n 0x0 0x0 CNT Counter Interrupt Enable 2 1 DFS Non-Recoverable Debug Fault Interrupt Enable 11 1 ERR Error Interrupt Enable 3 1 FAULT0 Non-Recoverable Fault 0 Interrupt Enable 14 1 FAULT1 Non-Recoverable Fault 1 Interrupt Enable 15 1 FAULTA Recoverable Fault A Interrupt Enable 12 1 FAULTB Recoverable Fault B Interrupt Enable 13 1 MC0 Match or Capture Channel 0 Interrupt Enable 16 1 MC1 Match or Capture Channel 1 Interrupt Enable 17 1 MC2 Match or Capture Channel 2 Interrupt Enable 18 1 MC3 Match or Capture Channel 3 Interrupt Enable 19 1 OVF Overflow Interrupt Enable 0 1 TRG Retrigger Interrupt Enable 1 1 UFS Non-Recoverable Update Fault Interrupt Enable 10 1 TCC_INTFLAG Interrupt Flag Status and Clear 0x2C 32 read-write n 0x0 0x0 CNT Counter 2 1 DFS Non-Recoverable Debug Fault 11 1 ERR Error 3 1 FAULT0 Non-Recoverable Fault 0 14 1 FAULT1 Non-Recoverable Fault 1 15 1 FAULTA Recoverable Fault A 12 1 FAULTB Recoverable Fault B 13 1 MC0 Match or Capture 0 16 1 MC1 Match or Capture 1 17 1 MC2 Match or Capture 2 18 1 MC3 Match or Capture 3 19 1 OVF Overflow 0 1 TRG Retrigger 1 1 UFS Non-Recoverable Update Fault 10 1 TCC_PATT Pattern 0x38 16 read-write n 0x0 0x0 PGE0 Pattern Generator 0 Output Enable 0 1 PGE1 Pattern Generator 1 Output Enable 1 1 PGE2 Pattern Generator 2 Output Enable 2 1 PGE3 Pattern Generator 3 Output Enable 3 1 PGE4 Pattern Generator 4 Output Enable 4 1 PGE5 Pattern Generator 5 Output Enable 5 1 PGE6 Pattern Generator 6 Output Enable 6 1 PGE7 Pattern Generator 7 Output Enable 7 1 PGV0 Pattern Generator 0 Output Value 8 1 PGV1 Pattern Generator 1 Output Value 9 1 PGV2 Pattern Generator 2 Output Value 10 1 PGV3 Pattern Generator 3 Output Value 11 1 PGV4 Pattern Generator 4 Output Value 12 1 PGV5 Pattern Generator 5 Output Value 13 1 PGV6 Pattern Generator 6 Output Value 14 1 PGV7 Pattern Generator 7 Output Value 15 1 TCC_PATTB Pattern Buffer 0x64 16 read-write n 0x0 0x0 PGEB0 Pattern Generator 0 Output Enable Buffer 0 1 PGEB1 Pattern Generator 1 Output Enable Buffer 1 1 PGEB2 Pattern Generator 2 Output Enable Buffer 2 1 PGEB3 Pattern Generator 3 Output Enable Buffer 3 1 PGEB4 Pattern Generator 4 Output Enable Buffer 4 1 PGEB5 Pattern Generator 5 Output Enable Buffer 5 1 PGEB6 Pattern Generator 6 Output Enable Buffer 6 1 PGEB7 Pattern Generator 7 Output Enable Buffer 7 1 PGVB0 Pattern Generator 0 Output Enable 8 1 PGVB1 Pattern Generator 1 Output Enable 9 1 PGVB2 Pattern Generator 2 Output Enable 10 1 PGVB3 Pattern Generator 3 Output Enable 11 1 PGVB4 Pattern Generator 4 Output Enable 12 1 PGVB5 Pattern Generator 5 Output Enable 13 1 PGVB6 Pattern Generator 6 Output Enable 14 1 PGVB7 Pattern Generator 7 Output Enable 15 1 TCC_PER Period 0x40 32 read-write n 0x0 0x0 PER Period Value 0 24 TCC_PERB Period Buffer 0x6C 32 read-write n 0x0 0x0 PERB Period Buffer Value 0 24 TCC_PERB_DITH4 Period Buffer PERB 0x6C 32 read-write n 0x0 0x0 DITHERCYB Dithering Buffer Cycle Number 0 4 PERB Period Buffer Value 4 20 TCC_PERB_DITH5 Period Buffer PERB 0x6C 32 read-write n 0x0 0x0 DITHERCYB Dithering Buffer Cycle Number 0 5 PERB Period Buffer Value 5 19 TCC_PERB_DITH6 Period Buffer PERB 0x6C 32 read-write n 0x0 0x0 DITHERCYB Dithering Buffer Cycle Number 0 6 PERB Period Buffer Value 6 18 TCC_PER_DITH4 Period PER 0x40 32 read-write n 0x0 0x0 DITHERCY Dithering Cycle Number 0 4 PER Period Value 4 20 TCC_PER_DITH5 Period PER 0x40 32 read-write n 0x0 0x0 DITHERCY Dithering Cycle Number 0 5 PER Period Value 5 19 TCC_PER_DITH6 Period PER 0x40 32 read-write n 0x0 0x0 DITHERCY Dithering Cycle Number 0 6 PER Period Value 6 18 TCC_STATUS Status 0x30 32 read-write n 0x0 0x0 CCBV0 Compare Channel 0 Buffer Valid 16 1 CCBV1 Compare Channel 1 Buffer Valid 17 1 CCBV2 Compare Channel 2 Buffer Valid 18 1 CCBV3 Compare Channel 3 Buffer Valid 19 1 CMP0 Compare Channel 0 Value 24 1 read-only CMP1 Compare Channel 1 Value 25 1 read-only CMP2 Compare Channel 2 Value 26 1 read-only CMP3 Compare Channel 3 Value 27 1 read-only DFS Non-Recoverable Debug Fault State 3 1 FAULT0 Non-Recoverable Fault 0 State 14 1 FAULT0IN Non-Recoverable Fault0 Input 10 1 read-only FAULT1 Non-Recoverable Fault 1 State 15 1 FAULT1IN Non-Recoverable Fault1 Input 11 1 read-only FAULTA Recoverable Fault A State 12 1 FAULTAIN Recoverable Fault A Input 8 1 read-only FAULTB Recoverable Fault B State 13 1 FAULTBIN Recoverable Fault B Input 9 1 read-only IDX Ramp 1 1 read-only PATTBV Pattern Buffer Valid 5 1 PERBV Period Buffer Valid 7 1 SLAVE Slave 4 1 read-only STOP Stop 0 1 read-only UFS Non-Recoverable Update Fault State 2 1 WAVEBV Wave Buffer Valid 6 1 TCC_SYNCBUSY Synchronization Busy 0x8 32 read-only n 0x0 0x0 CC0 Compare Channel 0 Busy 8 1 CC1 Compare Channel 1 Busy 9 1 CC2 Compare Channel 2 Busy 10 1 CC3 Compare Channel 3 Busy 11 1 CCB0 Compare Channel Buffer 0 Busy 19 1 CCB1 Compare Channel Buffer 1 Busy 20 1 CCB2 Compare Channel Buffer 2 Busy 21 1 CCB3 Compare Channel Buffer 3 Busy 22 1 COUNT Count Busy 4 1 CTRLB Ctrlb Busy 2 1 ENABLE Enable Busy 1 1 PATT Pattern Busy 5 1 PATTB Pattern Buffer Busy 16 1 PER Period busy 7 1 PERB Period Buffer Busy 18 1 STATUS Status Busy 3 1 SWRST Swrst Busy 0 1 WAVE Wave Busy 6 1 WAVEB Wave Buffer Busy 17 1 TCC_WAVE Waveform Control 0x3C 32 read-write n 0x0 0x0 CICCEN0 Circular Channel 0 Enable 8 1 CICCEN1 Circular Channel 1 Enable 9 1 CICCEN2 Circular Channel 2 Enable 10 1 CICCEN3 Circular Channel 3 Enable 11 1 CIPEREN Circular period Enable 7 1 POL0 Channel 0 Polarity 16 1 POL1 Channel 1 Polarity 17 1 POL2 Channel 2 Polarity 18 1 POL3 Channel 3 Polarity 19 1 RAMP Ramp Mode 4 2 RAMPSelect RAMP1 RAMP1 operation 0x0 RAMP2A Alternative RAMP2 operation 0x1 RAMP2 RAMP2 operation 0x2 RAMP2C Critical RAMP2 operation 0x3 SWAP0 Swap DTI Output Pair 0 24 1 SWAP1 Swap DTI Output Pair 1 25 1 SWAP2 Swap DTI Output Pair 2 26 1 SWAP3 Swap DTI Output Pair 3 27 1 WAVEGEN Waveform Generation 0 3 WAVEGENSelect NFRQ Normal frequency 0x0 MFRQ Match frequency 0x1 NPWM Normal PWM 0x2 DSCRITICAL Dual-slope critical 0x4 DSBOTTOM Dual-slope with interrupt/event condition when COUNT reaches ZERO 0x5 DSBOTH Dual-slope with interrupt/event condition when COUNT reaches ZERO or TOP 0x6 DSTOP Dual-slope with interrupt/event condition when COUNT reaches TOP 0x7 TCC_WAVEB Waveform Control Buffer 0x68 32 read-write n 0x0 0x0 CICCENB0 Circular Channel 0 Enable Buffer 8 1 CICCENB1 Circular Channel 1 Enable Buffer 9 1 CICCENB2 Circular Channel 2 Enable Buffer 10 1 CICCENB3 Circular Channel 3 Enable Buffer 11 1 CIPERENB Circular Period Enable Buffer 7 1 POLB0 Channel 0 Polarity Buffer 16 1 POLB1 Channel 1 Polarity Buffer 17 1 POLB2 Channel 2 Polarity Buffer 18 1 POLB3 Channel 3 Polarity Buffer 19 1 RAMPB Ramp Mode Buffer 4 2 RAMPBSelect RAMP1 RAMP1 operation 0x0 RAMP2A Alternative RAMP2 operation 0x1 RAMP2 RAMP2 operation 0x2 RAMP2C Critical RAMP2 operation 0x3 SWAPB0 Swap DTI Output Pair 0 Buffer 24 1 SWAPB1 Swap DTI Output Pair 1 Buffer 25 1 SWAPB2 Swap DTI Output Pair 2 Buffer 26 1 SWAPB3 Swap DTI Output Pair 3 Buffer 27 1 WAVEGENB Waveform Generation Buffer 0 3 WAVEGENBSelect NFRQ Normal frequency 0x0 MFRQ Match frequency 0x1 NPWM Normal PWM 0x2 DSCRITICAL Dual-slope critical 0x4 DSBOTTOM Dual-slope with interrupt/event condition when COUNT reaches ZERO 0x5 DSBOTH Dual-slope with interrupt/event condition when COUNT reaches ZERO or TOP 0x6 DSTOP Dual-slope with interrupt/event condition when COUNT reaches TOP 0x7 TCC_WEXCTRL Waveform Extension Configuration 0x14 32 read-write n 0x0 0x0 DTHS Dead-time High Side Outputs Value 24 8 DTIEN0 Dead-time Insertion Generator 0 Enable 8 1 DTIEN1 Dead-time Insertion Generator 1 Enable 9 1 DTIEN2 Dead-time Insertion Generator 2 Enable 10 1 DTIEN3 Dead-time Insertion Generator 3 Enable 11 1 DTLS Dead-time Low Side Outputs Value 16 8 OTMX Output Matrix 0 2 WAVE Waveform Control 0x3C 32 read-write n 0x0 0x0 CICCEN0 Circular Channel 0 Enable 8 1 CICCEN1 Circular Channel 1 Enable 9 1 CICCEN2 Circular Channel 2 Enable 10 1 CICCEN3 Circular Channel 3 Enable 11 1 CIPEREN Circular period Enable 7 1 POL0 Channel 0 Polarity 16 1 POL1 Channel 1 Polarity 17 1 POL2 Channel 2 Polarity 18 1 POL3 Channel 3 Polarity 19 1 RAMP Ramp Mode 4 2 RAMPSelect RAMP1 RAMP1 operation 0x0 RAMP2A Alternative RAMP2 operation 0x1 RAMP2 RAMP2 operation 0x2 RAMP2C Critical RAMP2 operation 0x3 SWAP0 Swap DTI Output Pair 0 24 1 SWAP1 Swap DTI Output Pair 1 25 1 SWAP2 Swap DTI Output Pair 2 26 1 SWAP3 Swap DTI Output Pair 3 27 1 WAVEGEN Waveform Generation 0 3 WAVEGENSelect NFRQ Normal frequency 0x0 MFRQ Match frequency 0x1 NPWM Normal PWM 0x2 DSCRITICAL Dual-slope critical 0x4 DSBOTTOM Dual-slope with interrupt/event condition when COUNT reaches ZERO 0x5 DSBOTH Dual-slope with interrupt/event condition when COUNT reaches ZERO or TOP 0x6 DSTOP Dual-slope with interrupt/event condition when COUNT reaches TOP 0x7 WAVEB Waveform Control Buffer 0x68 32 read-write n 0x0 0x0 CICCENB0 Circular Channel 0 Enable Buffer 8 1 CICCENB1 Circular Channel 1 Enable Buffer 9 1 CICCENB2 Circular Channel 2 Enable Buffer 10 1 CICCENB3 Circular Channel 3 Enable Buffer 11 1 CIPERENB Circular Period Enable Buffer 7 1 POLB0 Channel 0 Polarity Buffer 16 1 POLB1 Channel 1 Polarity Buffer 17 1 POLB2 Channel 2 Polarity Buffer 18 1 POLB3 Channel 3 Polarity Buffer 19 1 RAMPB Ramp Mode Buffer 4 2 RAMPBSelect RAMP1 RAMP1 operation 0x0 RAMP2A Alternative RAMP2 operation 0x1 RAMP2 RAMP2 operation 0x2 RAMP2C Critical RAMP2 operation 0x3 SWAPB0 Swap DTI Output Pair 0 Buffer 24 1 SWAPB1 Swap DTI Output Pair 1 Buffer 25 1 SWAPB2 Swap DTI Output Pair 2 Buffer 26 1 SWAPB3 Swap DTI Output Pair 3 Buffer 27 1 WAVEGENB Waveform Generation Buffer 0 3 WAVEGENBSelect NFRQ Normal frequency 0x0 MFRQ Match frequency 0x1 NPWM Normal PWM 0x2 DSCRITICAL Dual-slope critical 0x4 DSBOTTOM Dual-slope with interrupt/event condition when COUNT reaches ZERO 0x5 DSBOTH Dual-slope with interrupt/event condition when COUNT reaches ZERO or TOP 0x6 DSTOP Dual-slope with interrupt/event condition when COUNT reaches TOP 0x7 WEXCTRL Waveform Extension Configuration 0x14 32 read-write n 0x0 0x0 DTHS Dead-time High Side Outputs Value 24 8 DTIEN0 Dead-time Insertion Generator 0 Enable 8 1 DTIEN1 Dead-time Insertion Generator 1 Enable 9 1 DTIEN2 Dead-time Insertion Generator 2 Enable 10 1 DTIEN3 Dead-time Insertion Generator 3 Enable 11 1 DTLS Dead-time Low Side Outputs Value 16 8 OTMX Output Matrix 0 2 WDT Watchdog Timer WDT 0x0 0x0 0x10 registers n WDT 2 WDT_INTREQ 2 CLEAR Clear 0x8 8 write-only n 0x0 0x0 CLEAR Watchdog Clear 0 8 write-only CLEARSelect KEY Clear Key 0xa5 CONFIG Configuration 0x1 8 read-write n 0x0 0x0 PER Time-Out Period 0 4 PERSelect 8 8 clock cycles 0x0 16 16 clock cycles 0x1 32 32 clock cycles 0x2 64 64 clock cycles 0x3 128 128 clock cycles 0x4 256 256 clock cycles 0x5 512 512 clock cycles 0x6 1K 1024 clock cycles 0x7 2K 2048 clock cycles 0x8 4K 4096 clock cycles 0x9 8K 8192 clock cycles 0xa 16K 16384 clock cycles 0xb WINDOW Window Mode Time-Out Period 4 4 WINDOWSelect 8 8 clock cycles 0x0 16 16 clock cycles 0x1 32 32 clock cycles 0x2 64 64 clock cycles 0x3 128 128 clock cycles 0x4 256 256 clock cycles 0x5 512 512 clock cycles 0x6 1K 1024 clock cycles 0x7 2K 2048 clock cycles 0x8 4K 4096 clock cycles 0x9 8K 8192 clock cycles 0xa 16K 16384 clock cycles 0xb CTRL Control 0x0 8 read-write n 0x0 0x0 ALWAYSON Always-On 7 1 ENABLE Enable 1 1 WEN Watchdog Timer Window Mode Enable 2 1 EWCTRL Early Warning Interrupt Control 0x2 8 read-write n 0x0 0x0 EWOFFSET Early Warning Interrupt Time Offset 0 4 EWOFFSETSelect 8 8 clock cycles 0x0 16 16 clock cycles 0x1 32 32 clock cycles 0x2 64 64 clock cycles 0x3 128 128 clock cycles 0x4 256 256 clock cycles 0x5 512 512 clock cycles 0x6 1K 1024 clock cycles 0x7 2K 2048 clock cycles 0x8 4K 4096 clock cycles 0x9 8K 8192 clock cycles 0xa 16K 16384 clock cycles 0xb INTENCLR Interrupt Enable Clear 0x4 8 read-write n 0x0 0x0 EW Early Warning Interrupt Enable 0 1 INTENSET Interrupt Enable Set 0x5 8 read-write n 0x0 0x0 EW Early Warning Interrupt Enable 0 1 INTFLAG Interrupt Flag Status and Clear 0x6 8 read-write n 0x0 0x0 EW Early Warning 0 1 STATUS Status 0x7 8 read-only n 0x0 0x0 SYNCBUSY Synchronization Busy 7 1 read-only